FTP Delete
Posted by: FFEMTcJ
Posted on: 2007-11-11 15:47:00
I am trying to figure out why I can't delete folders on my FTP that have files or other folders in them. Anyone have any ideas?
Posted by: FFEMTcJ
Posted on: 2007-11-11 15:47:00
I am trying to figure out why I can't delete folders on my FTP that have files or other folders in them. Anyone have any ideas?
Posted by: Atropos7
Posted on: 2007-11-11 16:29:00
In reply to:I am trying to figure out why I can't delete folders on my FTP that have files or other folders in them. Anyone have any ideas?
It's simple. The directory must be empty before it can be deleted. If it contains files and subdirectories, you must delete them first. And iterating through the subdirectories is called recursion. Shell commands like rm have a recursion flag. And FTP clients may automatically recurse for you - issuing "change working directory" and "delete" commands one by one.
Perhaps you meant to ask a different question. If you are trying to delete a directory that appears empty, then your FTP client is not configured to ask for the "hidden" files whose names start with a period - like .htaccess and .htpasswd that the Apache HTTP Server uses.
openvein.org -//-
Posted by: monkeyboy7706
Posted on: 2007-11-11 16:31:00
Check that there are no read only files in the folder. .htaccess files tend to be read only. This could prevent the deletion.
$97 DISCOUNT DISCOM97, Double bandwidth or disk DISCOMX2BWor DISCOMX2SPACE. More codes
Posted by: FFEMTcJ
Posted on: 2007-11-11 17:08:00
All I know is when I was hosting with GoDaddy, I could hit delete and it would delete anything below it, but with DH, I have to spend half hour trying to delete one folder just because it has stuff under it....I don't like this.
Also, does anyone know how I can set up CuteFTP to be able to see my .htaccess files? Once again, in GoDaddy I could see them, and with DH I can't.
Posted by: rlparker
Posted on: 2007-11-11 17:30:00
In reply to:I have to spend half hour trying to delete one folder just because it has stuff under it....I don't like this.
Yeah, that can be frustrating. but you shouldn't have that problem. I don't know if cuteFTP offers recursive delete or not (check your help file) but if not, you might want to consider a more full featured FTP client. If your FTP client supports recursive deleting, you will be back to a single delete command on DH. ![]()
In reply to:Also, does anyone know how I can set up CuteFTP to be able to see my .htaccess files? Once again, in GoDaddy I could see them, and with DH I can't.
Sure you can! That's a function of your FTP client, not DreamHost. For how to set up CuteFTP to display hidden files,
The DH Wiki has instructions. So does Google, or once again, check the CuteFTP help.
It can sometimes take a little time to get adjusted to how things work differently at a different host; once you find your away around your FTP application, and DreamHost in general, you'll likely never be happy with the "G*D*ddy way of doing things again (DH is much more flexible and powerful from the users' perspective). ![]()
--rlparker
Posted by: FFEMTcJ
Posted on: 2007-11-11 17:53:00
Thanks rl.. I had tried following those instructions before, and they didn't match up with my version of CuteFTP.. However I was able to play around today and found out how to do it.. I also updated the Wiki to reflect instructions for the version of CuteFTP that I am using..
I do agree that so far DH seems to be much better than GD, it's just trying to get over the humps and the learning curve in the beginning... I am still having a problem with my MX records that DH Support is trying to help me with.
Posted by: rlparker
Posted on: 2007-11-11 17:57:00
You are welcome, and I'm glad your getting it sorted. Hopdully Support can get your MX issues squared away soon! ![]()
Thanks for updating the wiki!
--rlparker