cURL / Mailing Lists / curl-users / Single Mail

curl-users

[Fwd: CURL PUT: dropping records at end of file . . . incomplete transfer]

From: David Larkin <David.Larkin_at_oit.state.nj.us>
Date: Thu, 24 Apr 2008 10:31:44 -0400

-------- Original Message --------
Subject: CURL PUT: dropping records at end of file . . . incomplete
transfer
Date: Thu, 24 Apr 2008 10:18:48 -0400
From: David Larkin <david.larkin_at_oit.state.nj.us>
Organization: OIT
To: curl-users-request_at_cool.haxx.se

curl 7.15.3

Hi ! Our curl put is not sending a complete file. It sends complete
blocks of data (16384) but if the last block is less than 16384 . . . it
does not send those records. No error shown.
Do you know what this could be ?
If we turn SSL off . . . works fine.
We tried a retry & it also seemed to send the missing records.

1230 /usr/local/bin/curl -v --connect-timeout 120 --ftp-skip-pasv-ip
--ftp-ssl -T /opt/SAFE/2797.7.steve.dos
ftp://****:****@ftpsite.com:21/TEST.CURL.SSL.MAILFILE.TXT
1231 /usr/local/bin/curl -v --connect-timeout 120 --ftp-skip-pasv-ip
--ftp-ssl -k -T /opt/SAFE/2797.7.steve.dos
ftp://****:****@ftpsite.com:21/TEST.CURL.SSL.MAILFILE.TXT
1232 /usr/local/bin/curl -v --connect-timeout 120 --ftp-skip-pasv-ip
-T /opt/SAFE/2797.7.steve.dos
ftp://****:****@ftpsite.com:21/TEST.CURL.MAILFILE.TXT

I see 16384 defined in curl.h file . . .
Does something need to be set there ?
Has anyone experienced this ?
Thank You.
Received on 2008-04-24