cURL / Mailing Lists / curl-users / Single Mail

curl-users

[Fwd: quote option in curl ftp]

From: Philippe Baudry <Philippe.Baudry_at_evidian.com>
Date: Thu, 06 Oct 2005 20:06:17 +0200

note

current version of my curl

$ curl -V
curl 7.10.6 (i386-redhat-linux-gnu) libcurl/7.10.6 OpenSSL/0.9.7a ipv6
zlib/1.1.4
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 SSL libz NTLM

-- 
Philippe Baudry

attached mail follows:


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