Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Whether to use EPRT command.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes
MBS( "CURL.SetOptionFTPUseEPRT"; curl; Value )   More


Parameter Description Example value
curl The CURL session handle. $curl
Value Whether to use EPRT command: 1 for EPRT, 0 for no EPRT. 1


Returns "OK" on success.


Whether to use EPRT command.
If the value is 1, it tells curl to use the EPRT (and LPRT) command when doing active FTP downloads (which is enabled by CURL.SetOptionFTPPort). Using EPRT means that it will first attempt to use EPRT and then LPRT before using PORT, but if you pass zero to this option, it will not try using EPRT or LPRT, only plain PORT.

If the server is an IPv6 host, this option will have no effect.

See also FTP_USE_EPRT option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014

CURL.SetOptionFTPSkipPasvIP   -   CURL.SetOptionFTPUseEPSV

Feedback: Report problem or ask question.

MBS FileMaker Plugins