cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: FTP: size of remote file

From: Christian Vogt <christian.vogt_at_loewe-komp.de>
Date: Thu, 13 Sep 2007 11:33:02 +0200

on 9/13/2007 11:09 AM, ying_at_lw-works.com wrote:
> Hi,
> Can anyone tell me how to retrieve the size of the remote FTP file before
> download it?

Hi,

see the "FTP & NOBODY" sub-part of my "Abort FTP downloads" thread. I
had a similar problem and solved it by using the NOBODY option and a
small patch that sets the content length even for FTP downloads.

http://curl.haxx.se/mail/lib-2007-08/0308.html

Hope this helps a bit
Christian
Received on 2007-09-13

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET