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.SetOptionFTPSkipPasvIP

Whether to skip IP address for PASV.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Whether to skip suggested IP. 1

Result

Returns "OK" on success.

Description

Whether to skip IP address for PASV.
Pass a long. If set to 1, it instructs CURL to not use the IP address the server suggests in its 227-response to CURL's PASV command when CURL connects the data connection. Instead libcurl will re-use the same IP address it already uses for the control connection. But it will use the port number from the 227-response.
This option has no effect if PORT, EPRT or EPSV is used instead of PASV.

See also FTP_SKIP_PASV_IP option in CURL manual.

Blog Entries

Created 18th August 2014, last changed 2nd August 2018


CURL.SetOptionFTPSSLCCC - CURL.SetOptionFTPUseEPRT

Feedback: Report problem or ask question.