cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: FTP command problem

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 19 Feb 2004 23:03:16 +0100 (CET)

On Thu, 19 Feb 2004, Ken Shmidheiser wrote:

> In attempting to use cURL to upload a file named "test.txt", residing in my
> Desktop directory, to the FTP subdirectory, I have checked the examples
> here:

....

> curl -T -u userName:password
> ftp://myDomain.com/directory/subdirectory/ ~/Desktop/test.txt

Try this:

 curl -u userName:password -T ~/Desktop/test.txt
 ftp://myDomain.com/directory/subdirectory/

It is important that the file you want to upload is immediately following the
-T option.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET