Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CURL.SetOptionProxyTransferMode

Whether to pass transfer mode to proxy.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionProxyTransferMode"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Whether to pass transfer mode to proxy. 1

Result

Returns "OK" on success.

Description

Whether to pass transfer mode to proxy.
If the value is set to 1 (one), it tells libcurl to set the transfer mode (binary or ASCII) for FTP transfers done via an HTTP proxy, by appending ;type=a or ;type=i to the URL. Without this setting, or it being set to 0 (zero, the default), CURL.SetOptionTransferText has no effect when doing FTP via a proxy. Beware that not all proxies support this feature.

See also PROXY_TRANSFER_MODE option in CURL manual.

See also

Created 18th August 2014, last changed 28th November 2019


CURL.SetOptionProxyTLSAuthUsername - CURL.SetOptionProxyType

Feedback: Report problem or ask question.