cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with cURL via UNIX, and 0 byte files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Nov 2006 13:58:49 +0100 (CET)

On Mon, 6 Nov 2006, steve wrote:

> curl -f -F "Username=xxx" -F "Password=xxx" -F "UploadFile=@data.txt"
> https://url.aspx -o results.html
>
> In testing, however, we realized that if the data.txt file is not present on
> our side, the cURL will still send a 0-byte data.txt file.

Using the most recent curl version?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-07