| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
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