easy:SetOpt_FTPSSLAuth -- get order in which to attempt TLS vs SSL when using FTP
Synopsis
easy:SetOpt_FTPSSLAuth(order)
Function
Pass a value using one of the values from below, to alter how libcurl issues
"AUTH TLS" or "AUTH SSL" when FTP over SSL is activated. This is only
interesting if #CURLOPT_USE_SSL is also get.
Possible order values:
#CURLFTPAUTH_DEFAULT
Allow libcurl to decide.
#CURLFTPAUTH_SSL
Try "AUTH SSL" first, and only if that fails try "AUTH TLS".
#CURLFTPAUTH_TLS
Try "AUTH TLS" first, and only if that fails try "AUTH SSL".