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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

CURL.SetOptionProtocols

Limit which protocols are used.

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

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

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The bitmask defining which protocols to use. 1

Result

Returns "OK" on success.

Description

Limit which protocols are used.
Pass a number that holds a bitmask of protocol values (See below). If used, this bitmask limits what protocols libcurl may use in the transfer. This allows us to have a plugin built to support a wide range of protocols but still limit specific transfers to only be allowed to use a subset of them. By default libcurl will accept all protocols it supports. See also CURL.SetOptionRedirProtocols.

HTTP1
HTTPS2
FTP4
FTPS8
SCP16
SFTP32
TELNET64
LDAP128
LDAPS256
DICT512
FILE1024
TFTP2048
IMAP4096
IMAPS8192
POP316384
POP3S32768
SMTP65536
SMTPS131072
RTSP262144
ALL-1

See also


CURL.SetOptionPreQuote   -   CURL.SetOptionProxy

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins