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 command?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 Aug 2006 12:59:11 +0200 (CEST)

On Mon, 7 Aug 2006, Armel Asselin wrote:

> it seems that each download in FTP is preceded by a SIZE command and TYPE I
> command. Is there a way to disable it? (I already know the size of the file
> in fact, and the type rarely changes). I'm trying to reduce to the strict
> minimum the number of round-trip involved by a FTP get command.

No, there's no such way. You may know the size already but libcurl doesn't and
it needs to know the size to properly detect transfers that are cut off
prematurely.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-08-07

These mail archives are generated by hypermail.

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

File upload with ASP.NET