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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetOptionFTPUsePret
Whether to use PRET command.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 2.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "CURL.SetOptionFTPUsePret"; curl; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | Whether to use PRET command: 1 for PRET, 0 for no PRET. | 1 |
Result
Returns "OK" on success.
Description
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 FTP_USE_PRET option in CURL manual.
See also
- CURL.SetOptionFTPAccount
- CURL.SetOptionFTPPort
- CURL.SetOptionFTPSSLAuth
- CURL.SetOptionFTPUseEPRT
- CURL.SetOptionFTPUseEPSV
- CURL.SetOptionHTTPHeader
- CURL.SetOptionRTSPRequest
Created 18th August 2014, last changed 18th August 2014
CURL.SetOptionFTPUseEPSV - CURL.SetOptionFailOnError
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins