cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1715394 ] In TFTP, curl outputs incorrect results for the option "-w"

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 17 May 2007 04:16:20 -0700

Bugs item #1715394, was opened at 2007-05-09 04:46
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1715394&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: TFTP
>Group: wrong behaviour
Status: Open
Resolution: None
>Priority: 4
Private: No
Submitted By: Feng Tu (ayanamixp)
>Assigned to: Daniel Stenberg (bagder)
Summary: In TFTP, curl outputs incorrect results for the option "-w"

Initial Comment:
When curl interacted with TFTP server with option "-w" for some variants such as "size_download" ,
 "size_upload", "speed_download","speed_upload" , curl can't work as expected.

You can type command as following:
$ curl -v tftp://%HOSTIP:%TFTPPORT/1.txt -O -w '%{size_download}\n"
Note: The size of file "1.txt" is 55 bytes, not zero.

Then you will find you get "0" as result of "size_download", not some non-zero
value as expected.

The same abnormal result is also can be found in the cases for the other three
variants("size_upload", "speed_download","speed_upload").

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1715394&group_id=976
Received on 2007-05-17

These mail archives are generated by hypermail.

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

File upload with ASP.NET