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 13:05:56 -0700

On Fri, Sep 21, 2007 at 10:53:59PM +0300, Max Katsev wrote:
> Well, I can do it too (using CURLOPT_QUOTE) :)

The curl command-line I showed you was not setting CURLOPT_QUOTE (no -Q).

> I wanted to ask if there is normal way to do it.
> Also I checked sources (ftp.c) and it seems that there is no other way
> to set transfer mode before SIZE. Am i correct? If yes, then why?

I showed you a command not using CURLOPT_QUOTE that does it in a "normal"
way, so you're not correct. Use the --libcurl option to generate a libcurl
equivalent program and run it if you don't believe me.

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