curl-library
RE: Download ascii file with FTP client Solaris and other server (aix, hpux, vms, True64unix)
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 11 Mar 2005 12:30:40 +0100 (CET)
Date: Fri, 11 Mar 2005 12:30:40 +0100 (CET)
On Fri, 11 Mar 2005 delphine.menjikoff_at_orsyp.com wrote:
> Somebody had certainly the same problem already...(download an ascii file is
> very current) How do you resolve it?
You can often do more or less ugly post-processes of the file, if you know
exactly what system you got the file from.
The only *real* and sensible solution is to fix libcurl to support ASCII
transfers correctly.
Quoting section 3.1.1.1 in RFC959:
The sender converts the data from an internal character
representation to the standard 8-bit NVT-ASCII
representation (see the Telnet specification). The receiver
will convert the data from the standard form to his own
internal form.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-03-11