Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the kerberos security level for FTP.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionKRBLevel"; curl; Value { ; Encoding } )   More

(old name: CURL.SetOptionKRB4Level)


Parameter Description Example Flags
curl The CURL session handle. $curl
Value The new security level. "safe"
Encoding The text encoding for text parameter.
Default is UTF-8.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
"UTF8" Optional


Returns "OK" on success.


Sets the kerberos security level for FTP.
This also enables kerberos awareness. This is a string, 'clear', 'safe', 'confidential' or 'private'. If the string is set but doesn't match one of these, 'private' will be used. Set the string to empty value to disable kerberos support for FTP.

See also KRBLEVEL option in CURL manual.

See also

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

CURL.SetOptionIssuerCertBlob - CURL.SetOptionKeepSendingOnError