Not all folders are deleting

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
pb@wordpress
500 Command not understood
Posts: 2
Joined: 2019-05-13 09:16
First name: Paul
Last name: Bolton

Not all folders are deleting

#1 Post by pb@wordpress » 2019-05-13 09:30

Hi,

I have a site that I want to delete, so that I upload a different site it is place. I have deleted about 95% of the files, however there are some files/directories that will not delete (about 300 out of 130,000) - see attachment. some of these folders have files in, but the rest are empty. But they still refuse to be deleted. I have read about the problem of hidden files and in this case it is not the problem (I have turn on hidden files and it makes no difference).

Can anyone let me know what I am doing wrong?

Thanks,
Paul
Attachments
deleting-problem.PNG
deleting-problem.PNG (50.22 KiB) Viewed 76 times

User avatar
botg
Site Admin
Posts: 32084
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Not all folders are deleting

#2 Post by botg » 2019-05-13 16:38

What does it say in the message log when you try to delete them?

pb@wordpress
500 Command not understood
Posts: 2
Joined: 2019-05-13 09:16
First name: Paul
Last name: Bolton

Re: Not all folders are deleting

#3 Post by pb@wordpress » 2019-05-14 01:29

Many thanks for the reply. I didn’t have logging on at the time but have turned it on and got the following. Just to note this is with hidden files showing and the Owner, Group and Public settings on the folder switched to Read, Write and Execute. So, I did a test on folder ‘PHP44’ at 8:56::

2019-05-14 08:56:06 19280 1 Status: Retrieving directory listing of "/.cagefs/opt/alt/php44"...
2019-05-14 08:56:06 19280 1 Command: CWD php44
2019-05-14 08:56:07 19280 1 Response: 250 CWD command successful
2019-05-14 08:56:07 19280 1 Command: PWD
2019-05-14 08:56:07 19280 1 Response: 257 "/.cagefs/opt/alt/php44" is the current directory
2019-05-14 08:56:07 19280 1 Command: PASV
2019-05-14 08:56:08 19280 1 Response: 227 Entering Passive Mode (104,37,86,30,134,143).
2019-05-14 08:56:08 19280 1 Command: MLSD
2019-05-14 08:56:10 19280 1 Response: 150 Opening ASCII mode data connection for MLSD
2019-05-14 08:56:10 19280 1 Response: 226 Transfer complete
2019-05-14 08:56:10 19280 1 Status: Directory listing of "/.cagefs/opt/alt/php44" successful
2019-05-14 08:56:10 19280 1 Status: Retrieving directory listing of "/.cagefs/opt/alt/php44/link"...
2019-05-14 08:56:10 19280 1 Command: CWD link
2019-05-14 08:56:11 19280 1 Response: 250 CWD command successful
2019-05-14 08:56:11 19280 1 Command: PWD
2019-05-14 08:56:11 19280 1 Response: 257 "/.cagefs/opt/alt/php44/link" is the current directory
2019-05-14 08:56:11 19280 1 Status: Directory listing of "/.cagefs/opt/alt/php44/link" successful
2019-05-14 08:56:11 19280 1 Command: CWD /.cagefs/opt/alt/php44
2019-05-14 08:56:11 19280 1 Response: 250 CWD command successful
2019-05-14 08:56:11 19280 1 Command: PWD
2019-05-14 08:56:11 19280 1 Response: 257 "/.cagefs/opt/alt/php44" is the current directory
2019-05-14 08:56:11 19280 1 Command: RMD link
2019-05-14 08:56:12 19280 1 Response: 550 link: Directory not empty
2019-05-14 08:56:12 19280 1 Command: CWD /.cagefs/opt/alt
2019-05-14 08:56:12 19280 1 Response: 250 CWD command successful
2019-05-14 08:56:12 19280 1 Command: RMD php44
2019-05-14 08:56:12 19280 1 Response: 550 php44: Directory not empty
2019-05-14 08:56:12 19280 1 Status: Retrieving directory listing of "/.cagefs/opt/alt"...
2019-05-14 08:56:12 19280 1 Command: PASV
2019-05-14 08:56:13 19280 1 Response: 227 Entering Passive Mode (104,37,86,30,162,148).
2019-05-14 08:56:13 19280 1 Command: MLSD
2019-05-14 08:56:14 19280 1 Response: 150 Opening ASCII mode data connection for MLSD
2019-05-14 08:56:14 19280 1 Response: 226 Transfer complete
2019-05-14 08:56:14 19280 1 Status: Directory listing of "/.cagefs/opt/alt" successful
Does this make any sense to you?

The only thing that looks odd to me is the lines:

2019-05-14 08:56:11 19280 1 Response: 257 "/.cagefs/opt/alt/php44" is the current directory
2019-05-14 08:56:11 19280 1 Command: RMD link
2019-05-14 08:56:12 19280 1 Response: 550 link: Directory not empty

But not sure what it means…

Many Thanks,

Paul

User avatar
botg
Site Admin
Posts: 32084
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Not all folders are deleting

#4 Post by botg » 2019-05-14 07:28

First make sure you do not have directory listing filters enabled. Filtered items aren't deleted, blocking directory removal if the server doesn't implement recursive RMD.

If the issue persists it looks like the server has been configured by the server administrator to not show you all the files on the server. As a result FileZilla does not know about some files and can thus not delete them. Please contact your server administrator or server hosting provider for assistance to have the server configuration fixed to show you everything.

Post Reply