cURL / Mailing Lists / curl-library / Single Mail

curl-library

uploaded unaligned file size

From: Mark Lively <mongothegeek_at_gmail.com>
Date: Fri, 8 Apr 2011 16:08:44 -0400

I've been using curl in a project for a few years, wonderful tool.
Recently I've had a problem with it on some machines, but not on
others which are in theory identical.

The problem is with an unaligned file size. The bytes sent are
correct. The file makes it successfully but I am getting an error
about file sizes. The really odd thing is the bytes uploaded is
correct, the "out of" is wrong.

Any ideas?

* About to connect() to hostname port 21 (#0)
* Trying 10.1.4.70... * connected
* Connected to hostname (10.1.4.70) port 21 (#0)
< 220 hostname FTP Server (Version 5.7) Ready.
> USER username
< 331 Username username requires a Password
> PASS password
< 230 User logged in.
> PWD
< 257 "dir" is current directory.
* Entry path is 'dir'
> CWD dir
< 250-CWD command successful.
< 250 New default directory is dir
> EPSV
* Connect data stream passively
< 229 Entering Extended Passive Mode (|||51363|)
* Trying 10.1.4.70... * connected
* Connecting to 10.1.4.70 (10.1.4.70) port 51363
> TYPE A
< 200 TYPE set to ASCII.
> STOR IAuto0 Log 110309.log
< 150 Opening data connection for dir/IAuto0_Log_110309.log
(172.20.11.202,56604)
* Remembering we are in dir dir/
< 226 Transfer complete.
* Uploaded unaligned file size (3773 out of 609 bytes)
> QUIT
< 221 Goodbye.
* Closing connection #0
* Transferred a partial file
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-08