Cant delete folder from server - Is .DS Store the problem

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
wotnow
504 Command not implemented
Posts: 9
Joined: 2009-08-12 08:04
First name: Amanda
Last name: McInerney

Cant delete folder from server - Is .DS Store the problem

#1 Post by wotnow » 2010-11-23 22:47

Hi I have read many of the posts regarding this issue and have enabled under Server tab "Force showing hidden files". This is some of the log .. sorry its so long wasnt sure which bits were relevant. I cannot delete the folder BrowseBasinServer although subfolders are empty .. I downloaded this file onto my local computer and there is a file that is not showing up on the remote side in images and this is a mac generated file called .DS store .. I read somewhere that this file will stop filezilla from deleting a folder. Is there a fix for this?

Command: CWD /var/www/html/BrowseBasinServer
Response: 250 CWD command successful
Command: RMD images
Response: 550 images: Directory not empty
Command: CWD /var/www/html
Response: 250 CWD command successful
Command: RMD BrowseBasinServer
Response: 550 BrowseBasinServer: Directory not empty
Status: Retrieving directory listing...
Command: PASV
Response: 227 Entering Passive Mode (209,151,4,129,224,184).
Command: LIST -a
Response: 150 Opening ASCII mode data connection for file list
Response: 226 Transfer complete.
Status: Directory listing successful

User avatar
boco
Contributor
Posts: 25330
Joined: 2006-05-01 03:28
Location: Germany

Re: Cant delete folder from server - Is .DS Store the proble

#2 Post by boco » 2010-11-24 00:32

I read somewhere that this file will stop filezilla from deleting a folder. Is there a fix for this?
The problem is not within FileZilla. There's simply no way to delete a file which the server doesn't show you. Thus FileZilla assumes it's not there.
Sometimes there's a manual workaround: While being in the directory, use the ''Enter custom command...'' option from the Server menu. Then enter DELE .DS_Store and hit OK. If the server accepts the command, you can remove the directory afterwards.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

wotnow
504 Command not implemented
Posts: 9
Joined: 2009-08-12 08:04
First name: Amanda
Last name: McInerney

Re: Cant delete folder from server - Is .DS Store the proble

#3 Post by wotnow » 2010-11-24 01:51

Thanks

sdgard
500 Command not understood
Posts: 1
Joined: 2017-03-04 01:37
First name: Stephen
Last name: Gard

Re: Cant delete folder from server - Is .DS Store the problem

#4 Post by sdgard » 2017-03-04 01:42

Joined this forum just to thank Boco. The DELE .DS_Store Server command fixed my undeletable files/folders problem for me.

Thank you very much!

SDG

Post Reply