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-1724011 ] "curl tftp://tftpserver/[1-3] -O" not working in latest src

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 23 May 2007 02:13:14 -0700

Bugs item #1724011, was opened at 2007-05-23 09:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1724011&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: 5
Private: No
Submitted By: songma (songmash)
Assigned to: Daniel Stenberg (bagder)
Summary: "curl tftp://tftpserver/[1-3] -O" not working in latest src

Initial Comment:
Hi,

For the latest snapshot of cURL, "curl-7.16.3-20070523", I found that the following scenario is not working.

~/curl-7.16.3-20070523/src>./curl -v tftp://9.186.11.75/[1-3] -o "my_#1"

But only one file was downloaded.

~/curl-7.16.3-20070523/src>ls my_*
my_1

In the snapshot the "tftp.c" version is 1.46. I can see there are a lot of fixes made to "tftp.c". Could some change break it?

cURL 7.16.1 and 7.16.2 is okay for this usage.

Verbose log:
curl-7.16.3-20070523
[1/3]: tftp://tftpserver/1 --> my_1
* About to connect() to tftpserver port 69 (#0)
* Trying tftpserver... connected
* Connected to tftpserver (tftpserver) port 69 (#0)
* set timeouts for state 0; Total 30, retry 5 maxtry 6
* TFTP_STATE_START
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 6 0 6 0 0 36 0 --:--:-- --:--:-- --:--:-- 36* TFTP_STATE_START
* Connected for receive
* set timeouts for state 1; Total 3600, retry 15 maxtry 24
  0 6 0 6 0 0 36 0 --:--:-- --:--:-- --:--:-- 36* Connection #0 to host tftpserver left intact

[2/3]: tftp://tftpserver/2 --> my_2
* Examining connection #0 for reuse (pipeLen = 0)
* Re-using existing connection! (#0) with host tftpserver
* Connected to tftpserver (tftpserver) port 69 (#0)
* TFTP finished
  0 6 0 6 0 0 10810 0 --:--:-- --:--:-- --:--:-- 10810* Connection #0 to host tftpserver left intact

[3/3]: tftp://tftpserver/3 --> my_3
* Examining connection #0 for reuse (pipeLen = 0)
* Re-using existing connection! (#0) with host tftpserver
* Connected to tftpserver (tftpserver) port 69 (#0)
* TFTP finished
  0 6 0 6 0 0 2772 0 --:--:-- --:--:-- --:--:-- 2772* Connection #0 to host tftpserver left intact

* Closing connection #0

cURL 7.16.2:
* Trying tftpserver... connected
* Connected to tftpserver (tftpserver) port 69 (#0)
* set timeouts for state 0; Total 30, retry 5 maxtry 6
* TFTP_STATE_START
* TFTP_STATE_START
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* TFTP_STATE_START
* Connected for receive
* set timeouts for state 1; Total 3600, retry 15 maxtry 24
* Pre readwrite setting chunky header values to default
  0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* Connection #0 to host tftpserver left intact

[2/3]: tftp://tftpserver/2 --> my_2
* Examining connection #0 for reuse (pipeLen = 0)
* Re-using existing connection! (#0) with host tftpserver
* Connected to tftpserver (tftpserver) port 69 (#0)
* TFTP finished
* Pre readwrite setting chunky header values to default
* Connection died, retrying a fresh connect
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Closing connection #0
* Issue another request to this URL: 'tftp://tftpserver/2'
* About to connect() to tftpserver port 69 (#0)
* Trying tftpserver... connected
* Connected to tftpserver (tftpserver) port 69 (#0)
* set timeouts for state 0; Total 30, retry 5 maxtry 6
* TFTP_STATE_START
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* TFTP_STATE_START
* Connected for receive
* set timeouts for state 1; Total 3600, retry 15 maxtry 24
* Pre readwrite setting chunky header values to default
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connection #0 to host tftpserver left intact

[3/3]: tftp://tftpserver/3 --> my_3
* Examining connection #0 for reuse (pipeLen = 0)
* Re-using existing connection! (#0) with host tftpserver
* Connected to tftpserver (tftpserver) port 69 (#0)
* TFTP finished
* Pre readwrite setting chunky header values to default
* Connection died, retrying a fresh connect
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Closing connection #0
* Issue another request to this URL: 'tftp://tftpserver/3'
* About to connect() to tftpserver port 69 (#0)
* Trying tftpserver... connected
* Connected to tftpserver (tftpserver) port 69 (#0)
* set timeouts for state 0; Total 30, retry 5 maxtry 6
* TFTP_STATE_START
* TFTP_STATE_START
  0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* TFTP_STATE_START
* Connected for receive
* set timeouts for state 1; Total 3600, retry 15 maxtry 24
* Pre readwrite setting chunky header values to default
  0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* Connection #0 to host tftpserver left intact

* Closing connection #0

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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET