FileZilla FTP Client Cannot Delete Directories from WS_FTP Server

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



FileZilla FTP Client Cannot Delete Directories from WS_FTP ServerExpand / Collapse
Author
Message
Posted 2/3/2005 9:19:26 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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.
Post #4490
Posted 2/4/2005 10:42:36 AM


Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime 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
Post #4518
Posted 2/4/2005 10:53:08 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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
Post #4520
Posted 2/4/2005 10:55:46 AM


Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime 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
Post #4522
Posted 9/4/2007 2:48:41 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

Post #36415
Posted 9/19/2008 2:30:39 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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.

Post #47149
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, LDW, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm, Travis G.

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 7:30pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.125. 10 queries. Compression Enabled.