cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp SIZE command and ASCII/BINARY mode

From: Max Katsev <mkatsev_at_gmail.com>
Date: Fri, 21 Sep 2007 22:53:59 +0300

On 21/09/2007, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Fri, Sep 21, 2007 at 10:00:19PM +0300, Max Katsev wrote:
> > I'm using 7.16.4 and checked 7.17.0 right now
> > And i'm talking about libcurl, not curl app itself.
>
> Yes, but if curl can do it, so can libcurl. You might get some hints using
> the --libcurl option.

Well, I can do it too (using CURLOPT_QUOTE) :)
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?
Received on 2007-09-21