|
|
rm file on apache ftp server = error "not a directory"
|
|
|
|
Fresh-Faced Recruit
Join Date: Jan 2003
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Apr 2002
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jan 2003
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jan 2003
Status:
Offline
|
|
rm is for directories, try 'dele'.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
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 Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|