curl-users
Re: Delete remote file
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Tue, 06 Jul 2004 09:25:15 +0200
Date: Tue, 06 Jul 2004 09:25:15 +0200
Derek Goring wrote:
> Thank you for quoting the manual, which I'd already
> read. I tried:
> -Q -delete
> but got:
> curl: <21> QUOT string not accepted: delete
>
> What is the correct string for delete? Or is there a
> better way?
Maybe I should have directed you to the RFC for the FTP protocol
instead. :-) There is no "delete" command in the FTP protocol, it's
called "dele".
Try -Q "-DELE filename" ftp://.....
Linus
Received on 2004-07-06