cURL / Mailing Lists / curl-users / Single Mail

curl-users

quote option in curl ftp

From: Philippe Baudry <Philippe.Baudry_at_evidian.com>
Date: Thu, 06 Oct 2005 19:59:25 +0200

hi,

i want just to delete a file after a ftp transfert using curl. i use
the Quote option, with the following syntax.

(i use the - caracter to specify the delete is after the file transfert
as explained in the doc, followed by the ftp delete command.)

$ curl -u ismadm:om4test --upload-file /tmp/toto.txt --url
ftp://casper.frcl.bull.fr:21 -Q "-delete toto.txt"

curl responds message

curl: (21) QUOT string not accepted: delete toto.txt

some one could tell me the good syntax for the command, or how to
proceed with curl

i need this facility

thanks by advance

-- 
Philippe Baudry
Received on 2005-10-06