cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTP Weirdness

From: Charlie Bursell <Charlie.Bursell_at_us.lawson.com>
Date: Thu, 5 Jan 2012 08:13:20 -0600

TclCurl Version 7.19.0 , libcurl 7.19.3

FTP from Unix to Windows, ASCII mode I think. The file seems to transfer OK but the error message is bothersome.

* Re-using existing connection! (#0) with host xxx.xxx.xx
* Connected to xxx.xxx.xx (10.5.5.43) port 21 (#0)
* Request has same path as previous transfer
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (10,54,53,43,13,248).
* Trying 10.54.53.43... * connected
* Connecting to 10.54.53.43 (10.54.53.43) port 3576
> STOR vr1_21271.dat
< 125 Data connection already open; Transfer starting.
* Remembering we are in dir "/in/data/Transfer/hxt/new//"
< 226 Transfer complete.
* Uploaded unaligned file size (5390 out of 5389 bytes)
* Connection #0 to host xxx.xxx.xx left intact

I note that the last character in the data being transferred is a Carriage Return (Hex 0D). Is the mismatch because Windows adds a Line Feed (Hex 0A) to the Carriage Return?
Seems like cURL would handle that?

Any ideas

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-05