1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

clarify that ftp ascii transfers don't do right in current libcurl

This commit is contained in:
Daniel Stenberg 2005-06-26 10:08:08 +00:00
parent d8dcd5e472
commit 36461fb2aa

View File

@ -774,11 +774,15 @@ this data is sent off using the ACCT command. (Added in 7.13.0)
.SH PROTOCOL OPTIONS .SH PROTOCOL OPTIONS
.IP CURLOPT_TRANSFERTEXT .IP CURLOPT_TRANSFERTEXT
A non-zero parameter tells the library to use ASCII mode for ftp transfers, A non-zero parameter tells the library to use ASCII mode for ftp transfers,
instead of the default binary transfer. For LDAP transfers it gets the data in instead of the default binary transfer. For win32 systems it does not set the
plain text instead of HTML and for win32 systems it does not set the stdout to stdout to binary mode. This option can be usable when transferring text data
binary mode. This option can be usable when transferring text data between between systems with different views on certain characters, such as newlines
systems with different views on certain characters, such as newlines or or similar.
similar.
\fBNOTE:\fP libcurl does not do a complete ASCII conversion when doing ASCII
transfers over FTP. This is a known limitation/flaw that nobody has
rectified. libcurl simply sets the mode to ascii and performs a standard
transfer.
.IP CURLOPT_CRLF .IP CURLOPT_CRLF
Convert Unix newlines to CRLF newlines on transfers. Convert Unix newlines to CRLF newlines on transfers.
.IP CURLOPT_RANGE .IP CURLOPT_RANGE