Home » Questions » Computers [ Ask a new question ]

Unable to remove directory, directory not empty

Unable to remove directory, directory not empty

The directory is in fact empty according to FTP, how can I delete this directory even though SmartFTP is throwing this error?

Asked by: Guest | Views: 218
Total answers/comments: 2
Guest [Entry]

"Set full permissions on folder first, then try deleting it again:

CHMOD 777 <folder>

Also check it does not contain files with names that begin with ""."", as these may appear hidden.
Eg,

DELETE .htaccess"
Guest [Entry]

FTP isn't a reliable way to check to see if a directory is empty or not. Do you have local access to the machine?