aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-09-15 14:16:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-09-15 14:16:13 +0000
commita98648bd8c78f3847a7eb849bc72f546c17ace83 (patch)
treee62752949f63c74e8df3f287a84662f9483f2bd2 /docs
parent4ee420f23e1b12962db0aaa356cc4dd08aefe41f (diff)
Updated to be accurate with the new proxytunnel option
Diffstat (limited to 'docs')
-rw-r--r--docs/README.curl13
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/README.curl b/docs/README.curl
index c18131b9e..32c116d35 100644
--- a/docs/README.curl
+++ b/docs/README.curl
@@ -139,9 +139,11 @@ UPLOADING
curl -T localfile -a ftp://ftp.upload.com/remotefile
- NOTE: Curl does not support ftp upload through a proxy! The reason for this
- is simply that proxies are seldomly configured to allow this and that no
- author has supplied code that makes it possible!
+ Curl also supports ftp upload through a proxy, but only if the proxy is
+ configured to allow that kind of tunneling. If it does, you can run curl in
+ a fashion similar to:
+
+ curl --proxytunnel -x proxy:port -T localfile ftp.upload.com
HTTP
@@ -480,13 +482,14 @@ FTP and firewalls
connect to the client on the given (as parameters to the PORT command) IP
number and port.
- The -P flag to curl allows for different options. Your machine may have
+ The -P flag to curl supports a few different options. Your machine may have
several IP-addresses and/or network interfaces and curl allows you to select
which of them to use. Default address can also be used:
curl -P - ftp.download.com
- Download with PORT but use the IP address of our 'le0' interface:
+ Download with PORT but use the IP address of our 'le0' interface (this does
+ not work on windows):
curl -P le0 ftp.download.com