CURL.SetOptionFTPSkipPasvIP
---------------------------

Whether to skip IP address for PASV.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetOptionFTPSkipPasvIP"; curl; Value ) 

**MBS**( **"CURL.SetOptionFTPSkipPasvIP";** /\* Whether to skip IP address for PASV. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**) /\* Whether to skip suggested IP.e.g. 1 \*/ 

### 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](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html) option in CURL manual.

### Blog Entries

- [Translating Insert from URL options for CURL to MBS Plugin calls](https://www.mbsplugins.de/archive/2020-12-14/Translating_Insert_from_URL_op/monkeybreadsoftware_blog_filemaker)

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

  
[CURL.SetOptionFTPSSLCCC](CURLSetOptionFTPSSLCCC.md) - [CURL.SetOptionFTPUseEPRT](CURLSetOptionFTPUseEPRT.md)

[HTML Version](CURLSetOptionFTPSkipPasvIP.shtml)