TODO: implement support for CURLOPT_PREQUOTE with SFTP
authorDaniel Stenberg <daniel@haxx.se>
Sat, 17 Jun 2017 22:25:09 +0000 (00:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 17 Jun 2017 22:25:09 +0000 (00:25 +0200)
... also updated the CURLOPT_PREQUOTE.3 man page to mention the correct
protocol support.

Closes #1514

docs/TODO
docs/libcurl/opts/CURLOPT_PREQUOTE.3

index 099929b36951f36a4d85c07a2209a2c21ec75dae..ab215c8ae5a6a4416b43eac6223943dbacb3dabb 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
@@ -877,6 +877,10 @@ that doesn't exist on the server, just like --ftp-create-dirs.
  SHA-1 is also being deprecated these days so we should consider workign with
  libssh2 to instead offer support for SHA-256 or similar.
 
+17.4 Support CURLOPT_PREQUOTE
+
+ The two other QUOTE options are supported for SFTP, but this was left out for
+ unknown reasons!
 
 18. Command line tool
 
index e3ba1eb0e5ea6d74d44ca7fda5a0433f7555366e..530c51e38def0579677458c192be10be6a0633be 100644 (file)
 .\"
 .TH CURLOPT_PREQUOTE 3 "17 Jun 2014" "libcurl 7.37.0" "curl_easy_setopt options"
 .SH NAME
-CURLOPT_PREQUOTE \- commands to run before FTP or SFTP transfer
+CURLOPT_PREQUOTE \- commands to run before an FTP transfer
 .SH SYNOPSIS
 #include <curl/curl.h>
 
 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PREQUOTE,
                           struct curl_slist *cmds);
 .SH DESCRIPTION
-Pass a pointer to a linked list of FTP or SFTP commands to pass to the server
-after the transfer type is set. The linked list should be a fully valid list
-of struct curl_slist structs properly filled in as described for
+Pass a pointer to a linked list of FTP commands to pass to the server after
+the transfer type is set. The linked list should be a fully valid list of
+struct curl_slist structs properly filled in as described for
 \fICURLOPT_QUOTE(3)\fP. Disable this operation again by setting a NULL to this
 option.
+
+While \fICURLOPT_QOUTE(3)\fP and \fICURLOPT_POSTQUOTE(3)\fP work for SFTP,
+this option does not.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
-FTP and SFTP
+FTP
 .SH EXAMPLE
 .nf
 struct curl_slist *h = NULL;