Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

CURL.SetOptionFTPUseEPRT

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"; Handle; Value )

Parameters

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

Result

Returns "OK" on success.

Description

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


CURL.SetOptionFTPSkipPasvIP   -   CURL.SetOptionFTPUseEPSV

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins