curl-users
Re: FTP command problem
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 19 Feb 2004 23:03:16 +0100 (CET)
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