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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.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

💬 Ask a question or report a problem