From 7e845e7cfdd658caccc60f687d5d5d68d7e88937 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 4 Sep 2005 05:16:06 +0000 Subject: Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ip --- docs/curl.1 | 9 +++++++++ docs/libcurl/curl_easy_setopt.3 | 8 ++++++++ 2 files changed, 17 insertions(+) (limited to 'docs') diff --git a/docs/curl.1 b/docs/curl.1 index 40b29d049..0175b5a7c 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -347,6 +347,15 @@ If this option is used twice, the second will again disable silent failure. using this option can be used to override a previous --ftp-port option. (Added in 7.11.0) +If this option is used twice, the second will again disable silent failure. +.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 +will re-use the same IP address it already uses for the control +connection. (Added in 7.14.1) + +This option has no effect if PORT, EPRT or EPSV is used instead of PASV. + If this option is used twice, the second will again disable silent failure. .IP "--ftp-ssl" (FTP) Make the FTP connection switch to use SSL/TLS. (Added in 7.11.0) diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index ea009ca6c..aa351e959 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -767,6 +767,14 @@ curl is 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_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 +when libcurl connects the data connection. Instead libcurl will re-use the +same IP address it already uses for the control connection. But it will use +the port number from the 227-response. (Added in 7.14.1) + +This option has no effect if PORT, EPRT or EPSV is used instead of PASV. .IP CURLOPT_FTP_SSL Pass a long using one of the values from below, to make libcurl use your desired level of SSL for the ftp transfer. (Added in 7.11.0) -- cgit v1.2.3