cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp SIZE command and ASCII/BINARY mode

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 21 Sep 2007 14:20:40 -0700

On Fri, Sep 21, 2007 at 11:06:05PM +0200, Daniel Stenberg wrote:
> On Fri, 21 Sep 2007, Max Katsev wrote:
>> Ok, sorry, I misunderstood you It really worked (surprise! :)) and turned
>> out that key thing was curl_easy_setopt(hnd, CURLOPT_HEADER, 1); Seems
>> kinda strange to me, but anyway I'm happy now :) Thanks
>
> Really? Sounds like a bug then...

SIZE is sent after TYPE for me even if I leave off the -I to curl:

curl -v ftp://ftp.example.com/testfile

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-09-21