Unverified Commit 9dd731c9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

quote.d: asterisk prefix works for SFTP as well

Reported-by: Ben Voris
Fixes #4017
Closes #4019
parent 8b987cc7
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -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
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.
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
Prefix the command with an asterisk (*) to make curl continue even if the
the command with an asterisk (*) to make curl continue even if the command
command fails as by default curl will stop at first failure.
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
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
itself before sending them to the server.  File names may be quoted