mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:13:32 +03:00
New FTP CCC functionality - adds passive and active mode to accomodate for different server behaviour
This commit is contained in:
parent
6014c21bc9
commit
2f5e99ca02
9 changed files with 61 additions and 11 deletions
|
|
@ -465,6 +465,14 @@ typedef enum {
|
|||
CURLFTPSSL_LAST /* not an option, never use */
|
||||
} curl_ftpssl;
|
||||
|
||||
/* parameter for the CURLOPT_FTP_SSL_CCC option */
|
||||
typedef enum {
|
||||
CURLFTPSSL_CCC_NONE, /* do not send CCC */
|
||||
CURLFTPSSL_CCC_PASSIVE, /* Let the server initiate the shutdown */
|
||||
CURLFTPSSL_CCC_ACTIVE, /* Initiate the shutdown */
|
||||
CURLFTPSSL_CCC_LAST /* not an option, never use */
|
||||
} curl_ftpccc;
|
||||
|
||||
/* parameter for the CURLOPT_FTPSSLAUTH option */
|
||||
typedef enum {
|
||||
CURLFTPAUTH_DEFAULT, /* let libcurl decide */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue