From 9dd731c94e29e5422c5bd2811219a0987d4aeb91 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 12 Jun 2019 22:36:47 +0200 Subject: [PATCH] quote.d: asterisk prefix works for SFTP as well Reported-by: Ben Voris Fixes #4017 Closes #4019 --- docs/cmdline-opts/quote.d | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/cmdline-opts/quote.d b/docs/cmdline-opts/quote.d index cdd3ca6bd..59a98eafb 100644 --- a/docs/cmdline-opts/quote.d +++ b/docs/cmdline-opts/quote.d @@ -16,9 +16,10 @@ 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. -This option can be used multiple times. When speaking to an FTP server, prefix -the command with an asterisk (*) to make curl continue even if the command -fails as by default curl will stop at first failure. +Prefix the command with an asterisk (*) to make curl continue even if the +command fails as by default curl will stop at first failure. + +This option can be used multiple times. SFTP is a binary protocol. Unlike for FTP, curl interprets SFTP quote commands itself before sending them to the server. File names may be quoted