Add secure libcurl transfer backend
This commit is contained in:
+7
-1
@@ -81,7 +81,10 @@ typedef enum {
|
||||
FILEISDIR,
|
||||
MIRINFOK, MIRPARSEOK, MIRPARSEFAIL, FILEGETOK,
|
||||
/*Related to file joining */
|
||||
JOININPROGRESS, JOINDONE, JOINERR
|
||||
JOININPROGRESS, JOINDONE, JOINERR,
|
||||
|
||||
/* Secure protocols are appended to preserve the historical ABI values. */
|
||||
URLHTTPS, URLFTPS, URLSFTP
|
||||
} uerr_t;
|
||||
|
||||
|
||||
@@ -91,6 +94,9 @@ typedef enum {
|
||||
|
||||
#define DEFAULT_FTP_PORT 21
|
||||
#define DEFAULT_HTTP_PORT 80
|
||||
#define DEFAULT_HTTPS_PORT 443
|
||||
#define DEFAULT_FTPS_PORT 990
|
||||
#define DEFAULT_SFTP_PORT 22
|
||||
|
||||
/* This is used when no password is found or specified. */
|
||||
#define DEFAULT_FTP_USER "anonymous"
|
||||
|
||||
Reference in New Issue
Block a user