curl-users
Re: unable to download zip files completely using SFTP.
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 9 Mar 2009 23:08:14 -0600
Date: Mon, 9 Mar 2009 23:08:14 -0600
On Tue, Mar 10, 2009 at 10:23:03AM +0530, rajashri bhor wrote:
> i have written a code to download compressed (.zip) files using SFTP.
> It seems that zip file is not downloading complete file. size of source file
> and destination file is different.
>
> source file size is : 5103167 bytes
> downloaded file size is : 5095424 bytes
> difference in size is : 7743 bytes.
Could the problem be end of line character differences in the files? If
you're sending binary data, it doesn't make sense to set
CURLOPT_TRANSFERTEXT to 1.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-03-10