cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Ftp

From: Daniel Stenberg <Daniel.Stenberg_at_haxx.nu>
Date: Sat, 18 Mar 2000 22:01:29 +0100 (MET)

On Sat, 18 Mar 2000, James Jude Rouzier wrote:

> Can I use curl to delete a file from an ftp server or to pass commands to
> a ftp server??

Yes, you can. But only before or after(*) a supposed transfer. Curl is used
for file transfers and doing things with it that doesn't involve data being
transfered isn't its main target.

Check out the -Q/--quote command in the man page.

(*) = the after-transfer operation was added in curl 6.4 and didn't exist
previously

-- 
   Daniel Stenberg - http://www.contactor.se/~dast - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2000-03-18