cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: Downloading a file

From: Marco Maggi <marco.maggi-ipsu_at_poste.it>
Date: Thu, 26 Nov 2009 20:37:29 +0100

"Paul Monteiro" wrote:
> I'm using curl-7.19.7 to download a large file ~ 1.5GB. I
> scan a SFTP directory every 10 seconds and when the file
> is here i download the file.

So far it is clear.

> But when i download the file the size is not the same on
> the local and remote machine. It's because the remote
> file is copying from a slower hard disk. So the file is
> not full copied !

If possible, post a bit of the code you are using to
download the file with curl; else it is difficult understand
if your code is correct. For example: Are you using the
easy or the multi API? Does downloading with the "curl"
program work fine?

> The file must be locked by the system but not by the SFTP
> server !

This is unclear.

-- 
Marco Maggi
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-26

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET