cURL / Mailing Lists / curl-users / Single Mail


Re: FTP command problem

From: Daniel Stenberg <>
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
> ~/Desktop/test.txt

Try this:

 curl -u userName:password -T ~/Desktop/test.txt

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

    Daniel Stenberg -- --
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-19