CURLOPT_FTPSSLAUTH(3) curl_easy_setopt options CURLOPT_FTPSSLAUTH(3)NAME
CURLOPT_FTPSSLAUTH - set order in which to attempt TLS vs SSL when using FTP
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTPSSLAUTH, long order);
DESCRIPTION
Pass a long 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(3) is also set.
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".
DEFAULT
CURLFTPAUTH_DEFAULT
PROTOCOLS
FTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.12.2
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLOPT_USE_SSL(3), CURLOPT_FTP_SSL_CCC(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_FTPSSLAUTH(3)
Check Out this Related Man Page
CURLOPT_FTP_SSL_CCC(3) curl_easy_setopt options CURLOPT_FTP_SSL_CCC(3)NAME
CURLOPT_FTP_SSL_CCC - switch off SSL again with FTP after auth
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_SSL_CCC,
long how);
DESCRIPTION
If enabled, this option makes libcurl use CCC (Clear Command Channel). It shuts down the SSL/TLS layer after authenticating. The rest of
the control channel communication will be unencrypted. This allows NAT routers to follow the FTP transaction. Pass a long using one of the
values below
CURLFTPSSL_CCC_NONE
Don't attempt to use CCC.
CURLFTPSSL_CCC_PASSIVE
Do not initiate the shutdown, but wait for the server to do it. Do not send a reply.
CURLFTPSSL_CCC_ACTIVE
Initiate the shutdown and wait for a reply.
DEFAULT
CURLFTPSSL_CCC_NONE
PROTOCOLS
FTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.16.1
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLOPT_USE_SSL(3), CURLOPT_FTPSSLAUTH(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_FTP_SSL_CCC(3)
I need to make an SSL FTP connection from my Unix machine to an SSL FTP server. I've found lots of SSL-capable FTP clients for windows machines, but can't seem to find any for Unix (HP-UX 11i, to be specific).
I found, and have tried a package called tlswrap, but that is not working.
Anybody... (2 Replies)
These are the warning messages I am getting but the FTP works fine.How do I get rid of these?
220 FTP server (SunOS 5.8) ready.
500 'AUTH GSSAPI': command not understood.
500 'AUTH KERBEROS_V4': command not understood.
KERBEROS_V4 rejected as an authentication type (0 Replies)
Does anyone know of any products that support FTPS (FTP with SSL).
Or does anyone out there run this now? any experiences?
This is particularly to support the Cuncur expense system, I don tknow if anyone works with them at all, but they dont support sftp, just ftps.
Thanks,!! (1 Reply)
What is the "best" library to deal with FTP in C programming language? I've considered libcurl and ftplib (ftplib), but libcurl is designed for HTTP-like protocols (but supports FTP) and ftplib is poor in functionality (no multi-interface, don't know whether is it thread-safe or not, no custom... (6 Replies)
Hi all,
Im having trouble setting up an FTP server and forcing SSL. At the moment i can connect to the server externally using normal FTP but when i try FTP with SSL i get
STATUS:> Connected. Exchanging encryption keys...
ERROR:> SSL: Error in negotiating... (5 Replies)
Here are the essentials:
un: myuser
pw: mypasswd
site: sftp.somesite.com
port: 990
type: FTPS
enc: FTP over implicit TLS
program used:
Curl 7.1.x on Hpux 11.31
I would like to "put" 1 file on there server.
Here is my syntax, what am I doing wrong?
curl -3 -v --cacert... (4 Replies)
Hi,
I'm trying to access to FTP SERVER over SSL with this script unix :
(credentials are correct)
#!/usr/bin/ksh
USER="test"
PASSWORD="pwdtest"
IP="**.***.*.***"
ftp -s $IP 990 << EOF >>log_ftp
user $USER $PASSWORD
bin
passive
EOF
but seems that credentials are not passed... (2 Replies)
Greetings.
I desperately need help to get my sendmail configuration working again.
I followed this guide:
Unmemorable Memories » Blog Archive » Enabling SMTP-AUTH for Sendmail on Debian Linux 3.1
to enable TLS and AUTH in sendmail and now I get an error I just cannot find any information... (1 Reply)