Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curlopt_ftpsslauth(3) [mojave man page]

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)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SSL ftp from Unix

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)
Discussion started by: denverd0n
2 Replies

2. UNIX for Dummies Questions & Answers

Telnet Server FTP warning messages 500 'AUTH GSSAPI' how to resolve??

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)
Discussion started by: csviking
0 Replies

3. Solaris

FTPS : FTP with certificates

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)
Discussion started by: BG_JrAdmin
1 Replies

4. Programming

FTP Library

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)
Discussion started by: Hitori
6 Replies

5. UNIX for Dummies Questions & Answers

Setting up VSFTPD (force SSL?)

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)
Discussion started by: mokachoka
5 Replies

6. Programming

FTP Transfer fails at first time. Kindly help

(1 Reply)
Discussion started by: shenthil76
1 Replies

7. Shell Programming and Scripting

SSH shell script to access FTP over explicit TLS/SSL

Hello, I use the following SSH script to upload *.jpg files via FTP: #!/usr/bin/expect set timeout -1 spawn ftp -v -i expect "" send "\r" expect "Password:" send "\r" expect "ftp>" send "mput *.jpg\r" expect "ftp>" send "quit\r" replaced with actual ftp server/account data. ... (5 Replies)
Discussion started by: mrpi007
5 Replies

8. UNIX for Advanced & Expert Users

FTP over implicit TLS

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)
Discussion started by: olyanderson
4 Replies

9. UNIX for Dummies Questions & Answers

Ftps connection by ksh script

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)
Discussion started by: nash83
2 Replies

10. UNIX for Dummies Questions & Answers

Problems with Sendmail AUTH and TLS

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)
Discussion started by: Mr.Glaurung
1 Replies