Commit 2527b530 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Dan Nelson added the CURLOPT_FTP_ALTERNATIVE_TO_USER libcurl option and curl

tool option named --ftp-alternative-to-user. It provides a mean to send a
particular command if the normal USER/PASS approach fails.
parent 78a47826
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7,6 +7,10 @@
                                  Changelog

Daniel (26 July 2006)
- Dan Nelson added the CURLOPT_FTP_ALTERNATIVE_TO_USER libcurl option and curl
  tool option named --ftp-alternative-to-user. It provides a mean to send a
  particular command if the normal USER/PASS approach fails.

- Michael Jerris added magic that builds lib/curllib.vcproj automatically for
  newer MSVC.

+5 −3
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@ Curl and libcurl 7.15.5

 Public curl release number:               95
 Releases counted from the very beginning: 122
 Available command line options:           112
 Available curl_easy_setopt() options:     132
 Available command line options:           113
 Available curl_easy_setopt() options:     133
 Number of public functions in libcurl:    49
 Amount of public web site mirrors:        33
 Number of known libcurl bindings:         32
@@ -11,6 +11,8 @@ Curl and libcurl 7.15.5

This release includes the following changes:

 o added CURLOPT_FTP_ALTERNATIVE_TO_USER and --ftp-alternative-to-user
 o now includes a vcproj file for building libcurl
 o added curl_formget()
 o added CURLOPT_MAX_SEND_SPEED_LARGE and CURLOPT_MAX_RECV_SPEED_LARGE
 o configure --enable-hidden-symbols
@@ -41,6 +43,6 @@ advice from friends like these:

 Dan Fandrich, Peter Silva, Arve Knudsen, Michael Wallner, Toshiyuki Maezawa,
 Ingmar Runge, Ates Goral, David McCreedy, Jari Sundell, Georg Horn,
 Gisle Vanem, Yang Tse
 Gisle Vanem, Yang Tse, Michael Jerris, Dan Nelson

        Thanks! (and sorry if I forgot to mention someone)
+5 −0
Original line number Diff line number Diff line
@@ -396,6 +396,11 @@ in 7.11.0)
If this option is used several times, the following occurrences make no
difference.

.IP "--ftp-alternative-to-user <command>"
(FTP) If authenticating with the USER and PASS commands fails, send this
command.  When connecting to Tumbleweed's Secure Transport server over FTPS
using a client certificate, using "SITE AUTH" will tell the server to retrieve
the username from the certificate. (Added in 7.15.5)
.IP "--ftp-skip-pasv-ip"
(FTP) Tell curl to not use the IP address the server suggests in its response
to curl's PASV command when curl connects the data connection. Instead curl
+6 −0
Original line number Diff line number Diff line
@@ -859,6 +859,12 @@ waiting for a response, this value overrides \fICURLOPT_TIMEOUT\fP. It is
recommended that if used in conjunction with \fICURLOPT_TIMEOUT\fP, you set
\fICURLOPT_FTP_RESPONSE_TIMEOUT\fP to a value smaller than
\fICURLOPT_TIMEOUT\fP.  (Added in 7.10.8)
.IP CURLOPT_FTP_ALTERNATIVE_TO_USER
Pass a char * as parameter, pointing to a string which will be used to
authenticate if the usual FTP "USER user" and "PASS password" negotiation
fails. This is currently only known to be required when connecting to
Tumbleweed's Secure Transport FTPS server using client certificates for
authentication. (Added in 7.15.5)
.IP CURLOPT_FTP_SKIP_PASV_IP
Pass a long. If set to a non-zero value, it instructs libcurl to not use the
IP address the server suggests in its 227-response to libcurl's PASV command
+5 −2
Original line number Diff line number Diff line
@@ -979,6 +979,9 @@ typedef enum {
  CINIT(MAX_SEND_SPEED_LARGE, OFF_T, 145),
  CINIT(MAX_RECV_SPEED_LARGE, OFF_T, 146),

  /* Pointer to command string to send if USER/PASS fails. */
  CINIT(FTP_ALTERNATIVE_TO_USER, OBJECTPOINT, 147),

  CURLOPT_LASTENTRY /* the last unused */
} CURLoption;

Loading