aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/quote.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/quote.d')
-rw-r--r--docs/cmdline-opts/quote.d14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/cmdline-opts/quote.d b/docs/cmdline-opts/quote.d
index 6e4fd08f1..25da93f1d 100644
--- a/docs/cmdline-opts/quote.d
+++ b/docs/cmdline-opts/quote.d
@@ -4,8 +4,9 @@ Short: Q
Help: Send command(s) to server before transfer
Protocols: FTP SFTP
Category: ftp sftp
+Example: --quote "DELE file" ftp://example.com/foo
+Added: 5.3
---
-
Send an arbitrary command to the remote FTP or SFTP server. Quote commands are
sent BEFORE the transfer takes place (just after the initial PWD command in an
FTP transfer, to be exact). To make commands take place after a successful
@@ -14,12 +15,13 @@ has changed the working directory, just before the transfer command(s), prefix
the command with a '+' (this is only supported for FTP). You may specify any
number of commands.
-If the server returns failure for one of the commands, the entire operation
-will be aborted. You must send syntactically correct FTP commands as RFC 959
-defines to FTP servers, or one of the commands listed below to SFTP servers.
+By default curl will stop at first failure. To make curl continue even if the
+command fails, prefix the command with an asterisk (*). Otherwise, if the
+server returns failure for one of the commands, the entire operation will be
+aborted.
-Prefix the command with an asterisk (*) to make curl continue even if the
-command fails as by default curl will stop at first failure.
+You must send syntactically correct FTP commands as RFC 959 defines to FTP
+servers, or one of the commands listed below to SFTP servers.
This option can be used multiple times.