| | | Junior Member
       
Group: Forum Members Last Login: 9/30/2008 1:41:21 PM Posts: 22, Visits: 58 |
| I know this is most likely a bug in the open source FileZilla FTP client, but it is unable to delete directories from a WS_FTP Server. It doesn't seem to have this problem with any other FTP server product I've tested. However, I can also successfully delete directories from WS_FTP Server using other FTP clients like FlashFXP.
In any case, it would be nice just to know why FileZilla encounters this problem:
When attempting to delete a directory on the WS_FTP Server, FileZilla receives this error message:
"450 deletion failed"
In the WS_FTP Server log file (prior to version 5.04), an error message pertaining to a "sharing violation" was logged. However, in 5.04 no error message on the server side is logged (even with debug logging enabled).
*I have logged this as a bug in SourceForge for the developers of FileZilla, but I just though maybe you guys could provide some insight. |
| | | | 
Time Traveler
       
Group: Moderators Last Login: 7/16/2008 8:55:05 AM Posts: 176, Visits: 9 |
| The RMDIR command fails if the directory is non-empty. This is how FTP is supposed to work. Some FTP servers allow recursive deletions with flags (like "-r" for instance, a la Unix) and some have special commands to allow RMDIR to act recursively (like a "cascade" command). None of these are officially specified in the FTP protocol, however, so it's not really a bug in FileZilla.
Some clients (like WS_FTP Pro) can manually do recursive deletes, but this is an option that may not exist in FileZilla. Look for a "Delete non-empty folders" or "Recursively delete folders" option. If neither exists, consider sending a feature request to the FileZilla team.
Brandon Felger
IMail Install Developer
Ipswitch |
| | | | Junior Member
       
Group: Forum Members Last Login: 9/30/2008 1:41:21 PM Posts: 22, Visits: 58 |
| I know most clients perform recursive deletes on the client side. However, this is not relevant in this case.
I tested this by creating a new directory named "test" from within FlashFXP. The directory has no child directories or files. However, FileZilla cannot delete the directory (results in the 450 error).
If I log back in with FlashFXP I can delete directory with no problem.
The same is true if I originally create the same directory using FileZilla. It cannot delete it in that instance either. However, I can login with FlashFXP and delete the empty directory with no problems.
Kevan |
| | | | 
Time Traveler
       
Group: Moderators Last Login: 7/16/2008 8:55:05 AM Posts: 176, Visits: 9 |
| Ah, excuse me. I didn't know the directories were empty. Then yes, it definitely sounds like a bug in the client. I'll have to check it out.
Brandon Felger
IMail Install Developer
Ipswitch |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 9/4/2007 10:58:34 AM Posts: 3, Visits: 4 |
| | I have noticed that this is still an issue. With the latest release of Filezilla the problem still exists. I'm running WS_FTP server 5.04. Is this a WS_FTP or Filezilla problem. Can anyone please explain? Thanks! Erik |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 12/16/2008 1:49:12 PM Posts: 2, Visits: 5 |
| | I am also seeing the same issue with FileZilla, but I am also seeing it with WS-FTP Professional. The Error states "450 Deletion Failed: File Locked" I get the same error every time I try and delete a single file or an empty directory. Any Ideas? I have found that the only way I can delete the files and then the folder is after I reboot the Server. Not very practical when there are 100 others on it. |
| |
|
|