mirror of
https://github.com/curl/curl.git
synced 2026-04-15 03:41:41 +03:00
add an FTP rename example to 3.7
This commit is contained in:
parent
62f0f5571d
commit
33b9daaa4c
1 changed files with 5 additions and 1 deletions
6
docs/FAQ
6
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue