Portal Home > Knowledgebase > Articles Database > Unable to delete folders in ftp?


Unable to delete folders in ftp?




Posted by Terryy, 03-28-2009, 09:29 PM
Hiya im using fireftp and i chmod the folders to 777 but it seems that im still unable to delete the folders as i get the message 550 directory not empty etc. Anyone got any idea what went wrong??

Posted by RZNetworks, 03-28-2009, 09:37 PM
sounds like there's a hidden file in the directory created by root maybe. do you have ssh access?

Posted by Terryy, 03-28-2009, 09:39 PM
yes i have ssh access but im not sure how to ssh into my vps like what software to use etc. and the steps to take to delete the folders?? i have problems with a few accounts besides my main account in the vps.....why does root create the hidden file, how to prevent that from occuring again? Last edited by Terryy; 03-28-2009 at 09:44 PM.

Posted by RZNetworks, 03-28-2009, 09:51 PM
Well i'm unsure if it is a hidden folder, but ssh access will let you take a bit more of an informative view to your directories. Download "Putty" http://putty.en.softonic.com/ connect to the server using the details provided by your host and then change to the directory you are having issues with, using the change directory command "cd" cd /home/yourdomain/public_html from here you can use the command "ls -lah" to list everything in the directory in list format with human readable tags and, if needed you can use the command "rm -f" to delete anything in certain (Be careful however, this is not reversible). example: rm -f .hiddenfile owned by root If you are not to familiar with this, I'd reccomend reading some basic tutorials on navigating in a linux environment via command line.

Posted by Terryy, 03-28-2009, 10:04 PM
Thanks for the help, but however im unable to get into my root directory, my directory is /domains/mydomain.com/public_html I got the message no such file or directory....but my ftp can access the root directory...any idea??

Posted by RZNetworks, 03-28-2009, 10:16 PM
So, you can't navigate to that directory via SSH?

Posted by Terryy, 03-28-2009, 10:17 PM
yup i cant but i have the authority given by my host to access ssh since its a vps

Posted by Victor Lugo, 03-28-2009, 10:41 PM
Are you logged into SSH as root?

Posted by Terryy, 03-28-2009, 10:54 PM
yup i am logged in as root

Posted by Victor Lugo, 03-28-2009, 11:00 PM
The error message indicates the directory you are attempting to access does not exist. Although you are able to access said directory via FTP, you are not using to correct path to do so via SSH.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
restricted RDP login (Views: 588)
Beware of Mesopia.com (Views: 631)

Language: