From 3c7e33388e22e01cf90918e8c452f605584ce1ca Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 9 May 2003 07:42:47 +0000 Subject: [PATCH] CURLOPT_FTP_USE_EPRT added --- include/curl/curl.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/curl/curl.h b/include/curl/curl.h index 5ae43db3a..882956ece 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -624,6 +624,11 @@ typedef enum { and password to whatever host the server decides. */ CINIT(UNRESTRICTED_AUTH, LONG, 105), + /* Specificly switch on or off the FTP engine's use of the EPRT command ( it + also disables the LPRT attempt). By default, those ones will always be + attempted before the good old traditional PORT command. */ + CINIT(FTP_USE_EPRT, LONG, 106), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; @@ -814,8 +819,8 @@ CURLcode curl_global_init(long flags); void curl_global_cleanup(void); /* This is the version number */ -#define LIBCURL_VERSION "7.10.4" -#define LIBCURL_VERSION_NUM 0x070a04 +#define LIBCURL_VERSION "7.10.5-pre2" +#define LIBCURL_VERSION_NUM 0x070a05 /* linked-list structure for the CURLOPT_QUOTE option (and other) */ struct curl_slist {