Forum Moderators: phranque

Message Too Old, No Replies

Can't delete folder via FTP

permission denied

         

Acternaweb

2:41 pm on Dec 26, 2003 (gmt 0)

10+ Year Member



I have a few folders that I want to delete on my site and when go to do it, I am told "permission denied" by the FTP client. I have tried to change the chmod to 777 but that is denied also. How do I get permission on my site?

rogerd

3:01 pm on Dec 26, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



It sounds like your username lacks the needed permissions, check with your hosting firm.

divaone

4:13 pm on Dec 26, 2003 (gmt 0)

10+ Year Member



what he said, or the files and folders were created by a script and are now owned by 'nobody'. i would follow the advice above first, and then see if 'nobody' is the problem. if so, search for a script called 'nobody.cgi' to access those files.

if its none of the above, then it may simply be folders that only the admin can access. your admin can give you all info on what can and cannot be deleted.

<added>a couple of lines</added>

mack

4:17 pm on Dec 26, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



What FTP client are you using?

I had a similar problem once before, it was directories and folders that where script generated, wsftp could not delete them, laplink could. I have no explination as to why , but you might want to try using a diferent client.

If this fails contact you host.

Mack.

Birdman

4:20 pm on Dec 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When I try to delete folders, I have to delete all the files and folders within that folder before it will let me delete the folder.

In other words, empty the folder first. It's worth a shot, albeit a longshot ;)

Acternaweb

4:27 pm on Dec 26, 2003 (gmt 0)

10+ Year Member



I am using WS_FTP but I also tried IE's native FTP client. Neither worked. The Host said there is not an issue

MHes

4:32 pm on Dec 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi

Had a similar problem once., but I was trying to overwrite a file. I had to delete the file first, then put up the new file.

I know this is a different scenario, but just thought I would mention it :)

Shannon Moore

5:09 pm on Dec 26, 2003 (gmt 0)

10+ Year Member



If you need to do a lot of this, check with your hosting co. and see if one of the control panel features they offer is a file manager. When I'm doing a lot of whole-folder deletions and don't want to spend the time deleting the files in the folders first (required by WS-FTP), I pop into my admin/control panel and use my host's file manager. Two clicks and entire folder trees and their contents are deleted (with an all-important "Are you SURE you want to do this?" confirmation prompt.)

sajjid

8:35 pm on Dec 26, 2003 (gmt 0)

10+ Year Member



if you are using ws_ftp try the following it might help
open ws_ftp
options
program option
Advanced
common
then place a tick in the following box
Allow deletion of non_empty folders
then click apply and ok

Shannon Moore

7:04 am on Dec 29, 2003 (gmt 0)

10+ Year Member



For what it's worth, I looked in all the settings for my WS-FTP and that's not configurable (which is good, since I was about to beat myself up if I'd missed it after YEARS of using the software.) I'm running WS-FTP LE rather than WS-FTP Pro, so I assume the setting is in Pro. Just an FYI to folks.