Re: automatically appending ;type=<a|i> when using http proxies for ftp urls?
Date: Tue, 13 Nov 2007 13:38:30 +0100
Daniel Stenberg wrote:
> Anyone with a suggestion on a naming for this new option,
"CURLOPT_PROXY_SET_TRANSFER_MODE <-- could be shorter
Pass a long. This option tells curl to set the transfer mode (binary or
ASCII) for FTP transfers done via an HTTP proxy, by appending ;type=a or
;type=i to the URL. Without this setting (the default),
CURLOPT_TRANSFERTEXT has no effect when doing FTP via a proxy. Beware
that not all proxies support this feature."
If you're fine with the above (and comes with an idea to do it
automatically), I can write the patch for that.
Received on 2007-11-13