cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Battisti, Steven <SBattisti_at_ikon.com>
Date: Tue, 7 Nov 2006 08:32:46 -0500

Sorry, it's cURL 7.9.3. Unfortunately, not something I have control
over, though.

Steven Battisti

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Tuesday, November 07, 2006 7:59 AM
To: the curl tool
Subject: Re: Problem with cURL via UNIX, and 0 byte files

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