Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionTransferText

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionTransferText"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value Whether to use ASCII mode. 1

Result

Returns "OK" on success.

Description

Whether to use ASCII mode for FTP transfer.
A parameter set to 1 tells the library to use ASCII mode for FTP transfers, instead of the default binary transfer. For win32 systems it does not set the stdout to binary mode. This option can be usable when transferring text data between systems with different views on certain characters, such as newlines or similar.

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.

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Pfarrgemeinde Ministranten Nickenich