diff options
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index eee750b57..e1ffeade1 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1070,6 +1070,12 @@ be a plain IP address, a host name, a network interface name (under Unix) or just a '-' symbol to let the library use your system's default IP address. Default FTP operations are passive, and thus won't use PORT. +Starting in 7.19.5, you can append \&":[start]-[end]\&" to the right of the +address, to tell libcurl what TCP port range to use. That means you specify a +port range, from a lower to a higher number. A single number works as well, +but do not that it increases the risk of failure since the port may not be +available. + You disable PORT again and go back to using the passive version by setting this option to NULL. .IP CURLOPT_QUOTE |