Page 1 of 1

Not all folders are deleting

Posted: 2019-05-13 09:30
by pb@wordpress
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

Re: Not all folders are deleting

Posted: 2019-05-13 16:38
by botg
What does it say in the message log when you try to delete them?

Re: Not all folders are deleting

Posted: 2019-05-14 01:29
by pb@wordpress
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

Re: Not all folders are deleting

Posted: 2019-05-14 07:28
by botg
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.