Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > rm file on apache ftp server = error "not a directory"

rm file on apache ftp server = error "not a directory"
Thread Tools
Bongoman
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Mar 29, 2003, 04:05 AM
 
Hi there

When I attempt to rm a file on an apache ftp server, I get the error "not a directory".

What am I missing?

Thanks in advance

BongOman
     
ChrisF
Senior User
Join Date: Apr 2002
Status: Offline
Reply With Quote
Mar 29, 2003, 10:56 AM
 
Originally posted by Bongoman:
Hi there

When I attempt to rm a file on an apache ftp server, I get the error "not a directory".
Are you typing "rm -r filename"? If so, just type "rm filename".
Chris
     
Bongoman  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Mar 29, 2003, 04:27 PM
 
Originally posted by ChrisF:
Are you typing "rm -r filename"? If so, just type "rm filename".
Chris
Yes - I've been using rm index.php for example

BongoMan
     
glasn0st
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Mar 30, 2003, 07:02 PM
 
rm is for directories, try 'dele'.
     
Arkham_c
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Mar 31, 2003, 10:46 AM
 
Originally posted by Bongoman:
Hi there

When I attempt to rm a file on an apache ftp server, I get the error "not a directory".
Just FYI, apache does not make an ftp server, only a web server.

With that said, all ftp servers accept the following commands:

Code:
Commands may be abbreviated. Commands are: ! features mls proxy size $ fget mlsd put sndbuf account form mlst pwd status append ftp mode quit struct ascii gate modtime quote sunique bell get more rate system binary glob mput rcvbuf tenex bye hash msend recv throttle case help newer reget trace cd idle nlist remopts type cdup image nmap rename umask chmod lcd ntrans reset unset close less open restart usage cr lpage page rhelp user debug lpwd passive rmdir verbose delete ls pdir rstatus xferbuf dir macdef pls runique ? disconnect mdelete pmlsd send edit mdir preserve sendport epsv4 mget progress set exit mkdir prompt site
Someone already mentioned that the correct command is DELE <filename>
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:56 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,