--- Linus Nielsen Feltzing <linus_at_haxx.se> wrote: >
Derek Goring wrote:
> > Hi there
> > I use command line cURL and I'd like to retrieve a
> > mailbox by ftp, then delete it. I can't find this
> > facility in the manual, nor in the archives. Can
> > be done?
> From the curl man page:
> -Q/--quote <command>
> (FTP) Send an arbitrary command to the remote FTP
> server, by using the
> QUOTE command of the server. Not all servers support
> this command, and
> the set of QUOTE commands are server specific! Quote
> commands are sent
> BEFORE the transfer is taking place. To make
> commands take place after a
> successful transfer, prefix them with a dash '-'.
> You may specify any
> amount of commands to be run before and after the
> transfer. If the
> server returns failure for one of the commands, the
> entire operation
> will be aborted.
> This option can be used multiple times.
Thank you for quoting the manual, which I'd already
read. I tried:
curl: <21> QUOT string not accepted: delete
What is the correct string for delete? Or is there a
Mulgor Consulting Ltd
24 Brockworth Place
Christchurch, New Zealand
Phone: 64 3 343 5400
Mobile: 64 272 777 639
Find local movie times and trailers on Yahoo! Movies.
Received on 2004-07-06