curl-users
RE: cURL hangs on ftp upload in cygwin version
Date: Fri, 17 May 2002 16:12:45 -0400
I'm partial to Ethereal: www.ethereal.com
It's got a bit of a steep learning curve, but it shouldn't be too tough.
One caveat - since you're going to "localhost", the traffic will never hit your network card. Do you have a 2nd computer on the network?
I can try later with WarFTPd to attempt to replicate, however I only have NT4, W2K and WinXP machines at my disposal -- no win98 to be seen... If this ends up being win98 related, I'll not have any luck.
Any chance I can have a copy of your --trace file (zipped, or privately if too large) to fully understand what you're testing?
Thanks,
--Kevin
-----Original Message-----
From: Dennis George [mailto:dwgeorge_at_pacbell.net]
Sent: Friday, May 17, 2002 4:04 PM
To: curl-users Mailing list
Subject: Re: cURL hangs on ftp upload in cygwin version
Tried dos2unix to no avail.
Further info:
With the -# option, the progress bar goes to 100%.
With the --trace option, I see the "150 Ready to Receive..." message,
followed by the file itself, although it is incomplete due apparently to
having to ctrl-c out. Also tried -B, and the 150 message is:
150 Ready to receive "/d/wurl_files/makefile". Mode STREAM Type ASCII
NO-PRINT...
Both cURL and War-FTPd tout rfc959, so a 226 reply should be present after
the transfer, according to my understanding. Is there any way to trace
deeper?
----- Original Message -----
From: "Roth, Kevin P." <KPRoth_at_MarathonOil.com>
To: "Dennis George" <dwgeorge_at_pacbell.net>;
<curl-users_at_lists.sourceforge.net>
Sent: Friday, May 17, 2002 12:30 PM
Subject: RE: cURL hangs on ftp upload in cygwin version
Thanks for the DETAILED question. We like that ;-)
Sounds like a possible BINMODE vs TEXTMODE issue. Are your drives "mounted"
in Unix or DOS mode? From the cygwin bash prompt, Can you make this work
properly if you first switch the file to unix line-endings before uploading
(use the command `dos2unix makefile`)?
I just tried (with v 7.9.7 and 7.9.6) against an IIS 4 FTP server, with both
a text mount and a binary mount, and couldn't reproduce your problem (I used
a 7 kb file, both in dos EOL mode and unix).
Daniel et al: any idea where to start looking for this problem?
Thanks,
--Kevin
-----Original Message-----
From: Dennis George [mailto:dwgeorge_at_pacbell.net]
Sent: Friday, May 17, 2002 2:15 PM
Anybody using cygwin version of cURL?
The problem cURL hangs on ftp upload. I am using WAR-FTPD server on my
localhost, which works fine with WS-FTP and standard FTP command-line
clients, but not with "curl -T" - it hangs on the STOR, although if I ctrl-C
out of curl, the file appears intact on the server. Downloads with curl
work OK (curl -O). Note that I have tried the upload with and w/o
"--disable-epsv".
cURL was made from v7.9.7 source (cygwin version). I tried the binary
distribution first, with the same result. My machine is running Win98. The
problem occurs whether run from a cygwin window or command.com.
Here's the command issued:
curl -T makefile ftp://localhost/d/wurl_files/ -v --disable-epsv
The result:
* About to connect() to localhost:21
* Connected to computer (127.0.0.1) port 21
> USER anonymous
* We have successfully logged in
> PWD
* Entry path is '/'
> CWD d/wurl_files
> PASV
* About to connect() to localhost:2103
* Connecting to localhost (127.0.0.1) port 2103
* Connected the data stream with PASV!
> TYPE I
> STOR makefile
% Total % Received % Xferd Average Speed Time
Curr.
Dload Upload Total Current Left
Speed
100 6122 0 0 100 6122 0 6134 0:00:00 0:00:00 0:00:00
6134
(Note: curl never comes back)
_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/
_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/
_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that’s a super model! Visit http://clustering.foundries.sf.net/
Received on 2002-05-17