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.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Whether to use PRET command.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes

MBS( "CURL.SetOptionFTPUsePret"; Handle; Value )


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


Returns "OK" on success.


Whether to use PRET command.
If the value is 1, it tells curl to send a PRET command before PASV (and EPSV). Certain FTP servers, mainly drftpd, require this non-standard command for directory listings as well as up and downloads in PASV mode. Has no effect when using the active FTP transfers mode.

See also

CURL.SetOptionFTPUseEPSV   -   CURL.SetOptionFailOnError

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins