cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Uploaded unaligned file size error

From: <Nico.Baggus_at_mail.ing.nl>
Date: Fri, 16 Jul 2004 09:29:19 +0200

There is a better way...,

Try to upload to a temporary name, and rename to the intended name,
in that case it can't fail....

kind regards,

Nico Baggus
ING Securities Services
Systems Management
+31 20 - 7979577

 

> -----Original Message-----
> From: curl-users-bounces_at_cool.haxx.se
> [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of
> Dan.Palasek_at_VerizonWireless.com
> Sent: Friday, July 16, 2004 08:34
> To: curl-users_at_cool.haxx.se
> Subject: RE: Uploaded unaligned file size error
>
>
> The real issue has been discovered. The system that the file
> was being sent
> to was moving the file while it was being sent. It checked
> for the file
> every 5 min. and relocated it. My process kept retrying the
> transfer every
> 10 minutes. Now I immediately retry a failed transfer and, if needed,
> recycle attempts every 7 min.
>
> Thanks
>
> -Dan Palasek
>
> -----Original Message-----
> From: curl-users-bounces_at_cool.haxx.se
> [mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of Daniel Stenberg
> Sent: Wednesday, July 14, 2004 8:39 AM
> To: curl tool talk
> Subject: Re: Uploaded unaligned file size error
>
>
> On Tue, 13 Jul 2004 Dan.Palasek_at_VerizonWireless.com wrote:
>
> > When I searched for others encountering this same issue,
> the reason always
> > seemed to be related to large file support. In my case I am
> using Curl to
> > FTP upload a 8.8Mb file and consistently get the unaligned
> file error at
> > about 85% of the file transferred. The transfer time is
> roughly 5 minutes.
>
> > Any ideas? I am using the package install rel. 7.10.3 on Solaris 2.8
> sending
> > a file through FTP via a Proxy :
> > curl -v -p -x $proxy:$pport -u $user:$pass -T $file
> > ftp://$server/$path/$file
>
> It sounds as if the transfer is being aborted by something
> along the way. It
>
> could be a bad network, bad proxy, bad server or a curl bug.
> Does it always
> die after the same amount of time?
>
> I'm not familiar with any bug in curl that would produce this
> problem, but
> then you're using a fairly old version.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>

-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------
Received on 2004-07-16