Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Whether to use EPSV command.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Whether to use EPSV command or PASV. Pass 1 for EPSV or 0 for PASV. | 1 |
Returns "OK" on success.
See also FTP_USE_EPSV option in CURL manual.
Enable EPSV:
MBS( "CURL.SetOptionFTPUseEPSV"; $curl; 1 )
Disable EPSV:
MBS( "CURL.SetOptionFTPUseEPSV"; $curl; 0 )
Created 18th August 2014, last changed 22nd May 2020