docs: clarify FTP over HTTP proxy functionality somewhat

Reported-by: newfunction

Closes #15417
This commit is contained in:
Daniel Stenberg 2024-10-26 23:13:02 +02:00
parent 0910a412a9
commit 1160380e50
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 8 additions and 0 deletions

View File

@ -56,3 +56,7 @@ password.
When a proxy is used, the active FTP mode as set with --ftp-port, cannot be When a proxy is used, the active FTP mode as set with --ftp-port, cannot be
used. used.
Doing FTP over an HTTP proxy without --proxytunnel makes curl do HTTP with an
FTP URL over the proxy. For such transfers, common FTP specific options do not
work, including --ftp-ssl-reqd and --ftp-ssl-control.

View File

@ -102,6 +102,10 @@ single port number used widely for proxies. Specify it.
When a proxy is used, the active FTP mode as set with *CUROPT_FTPPORT(3)*, When a proxy is used, the active FTP mode as set with *CUROPT_FTPPORT(3)*,
cannot be used. cannot be used.
Doing FTP over an HTTP proxy without CURLOPT_HTTPPROXYTUNNEL(3) set makes
libcurl do HTTP with an FTP URL over the proxy. For such transfers, common FTP
specific options do not work, for example CURLOPT_USE_SSL(3).
# Environment variables # Environment variables
libcurl respects the proxy environment variables named **http_proxy**, libcurl respects the proxy environment variables named **http_proxy**,