curl-library
Re: Reg: FTP file Upload, default and binary mode
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 28 Dec 2013 22:56:48 +0100 (CET)
Date: Sat, 28 Dec 2013 22:56:48 +0100 (CET)
On Fri, 27 Dec 2013, vishnu kumar wrote:
> I am doing a ftp upload from the linux machine to a windows FTP server.
> I read the documentation CURLOPT_TRANSFERTEXT. In that it says default mode
> is binary, but when i set curlopt_transfertext as false then only its
> working correctly in binary mode.
It is a known flaw.
See docs/KNOWN_BUGS #21: http://curl.haxx.se/docs/knownbugs.html
I'll be happy to receive patches to improve this - but given how long we've
had this lack of function my guess is that the amount of people who truly care
about proper FTP ASCII support is diminishingly small.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-12-28