aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-06-26 21:53:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-06-26 21:53:46 +0000
commit33b9daaa4cd5b8a8231648ea7d37c14bc37b653a (patch)
tree1d4139289564ff346dfe1440096d3aefda15ff3e /docs
parent62f0f5571da55de683688c8fca8f8acdcbd98bec (diff)
add an FTP rename example to 3.7
Diffstat (limited to 'docs')
-rw-r--r--docs/FAQ6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/FAQ b/docs/FAQ
index ce47f3351..755e4d1d1 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -1,4 +1,4 @@
-Updated: February 11, 2007 (http://curl.haxx.se/docs/faq.html)
+Updated: June 26, 2007 (http://curl.haxx.se/docs/faq.html)
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
@@ -446,6 +446,10 @@ FAQ
curl -O ftp://download.com/coolfile -Q '-DELE coolfile'
+ or rename a file after upload:
+
+ curl -T infile ftp://upload.com/dir/ -Q "-RNFR infile" -Q "-RNTO newname"
+
3.8 How do I tell curl to follow HTTP redirects?
Curl does not follow so-called redirects by default. The Location: header