mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
added CURLOPT_FTP_USE_EPSV
This commit is contained in:
parent
b1076e0a9e
commit
01ed950bbe
@ -212,10 +212,8 @@ typedef enum {
|
|||||||
in the CURLOPT_FLAGS to activate this */
|
in the CURLOPT_FLAGS to activate this */
|
||||||
CINIT(RANGE, OBJECTPOINT, 7),
|
CINIT(RANGE, OBJECTPOINT, 7),
|
||||||
|
|
||||||
#if 0
|
/* not used */
|
||||||
/* Configuration flags */
|
|
||||||
CINIT(FLAGS, LONG, 8),
|
|
||||||
#endif
|
|
||||||
/* Specified file stream to upload from (use as input): */
|
/* Specified file stream to upload from (use as input): */
|
||||||
CINIT(INFILE, OBJECTPOINT, 9),
|
CINIT(INFILE, OBJECTPOINT, 9),
|
||||||
|
|
||||||
@ -321,11 +319,8 @@ typedef enum {
|
|||||||
/* HTTP request, for odd commands like DELETE, TRACE and others */
|
/* HTTP request, for odd commands like DELETE, TRACE and others */
|
||||||
CINIT(STDERR, OBJECTPOINT, 37),
|
CINIT(STDERR, OBJECTPOINT, 37),
|
||||||
|
|
||||||
#if 0
|
/* 38 is not used */
|
||||||
/* Progress mode set alternative progress mode displays. Alternative
|
|
||||||
ones should now be made by the client, not the lib! */
|
|
||||||
CINIT(PROGRESSMODE, LONG, 38),
|
|
||||||
#endif
|
|
||||||
/* send linked-list of post-transfer QUOTE commands */
|
/* send linked-list of post-transfer QUOTE commands */
|
||||||
CINIT(POSTQUOTE, OBJECTPOINT, 39),
|
CINIT(POSTQUOTE, OBJECTPOINT, 39),
|
||||||
|
|
||||||
@ -465,6 +460,11 @@ typedef enum {
|
|||||||
/* Specify which HTTP version to use! This must be set to one of the
|
/* Specify which HTTP version to use! This must be set to one of the
|
||||||
CURL_HTTP_VERSION* enums set below. */
|
CURL_HTTP_VERSION* enums set below. */
|
||||||
CINIT(HTTP_VERSION, LONG, 84),
|
CINIT(HTTP_VERSION, LONG, 84),
|
||||||
|
|
||||||
|
/* Specificly switch on or off the FTP engine's use of the EPSV command. By
|
||||||
|
default, that one will always be attempted before the more traditional
|
||||||
|
PASV command. */
|
||||||
|
CINIT(FTP_USE_EPSV, LONG, 85),
|
||||||
|
|
||||||
CURLOPT_LASTENTRY /* the last unusued */
|
CURLOPT_LASTENTRY /* the last unusued */
|
||||||
} CURLoption;
|
} CURLoption;
|
||||||
|
Loading…
Reference in New Issue
Block a user