curl-library
Re: Reg: FTP file Upload, default and binary mode
Date: Sun, 29 Dec 2013 21:53:51 +0100 (CET)
On Sun, 29 Dec 2013, Michael Wood wrote:
> If I understand the question correctly he wants binary mode but found that
> he had to set CURLOPT_TRANSFERTEXT to "false" despite the documentation
> saying that binary mode was the default.
>
> So it does not seem to have anything to do with bug 21. Of course I could
> have misunderstood the question because it was not explicit and I think open
> to misinterpretation.
Ah yes, that may have been what he meant and then I was completely out in the
woods in my response!
libcurl's FTP transfers are truly binary by default (unless you ask for a
directory listing) and CURLOPT_TRANSFERTEXT should not be necessary to make it
so. I believe we have a bunch of test cases that verify this-
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-12-29