aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_PREQUOTE.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-18 00:25:09 +0200
committerng0 <ng0@infotropique.org>2017-08-22 15:27:56 +0000
commitfec0800be9379fbad16e626d949b24d6a95164bf (patch)
tree450a18c5cbe5e0cde688de5927a2d6d8873f79cb /docs/libcurl/opts/CURLOPT_PREQUOTE.3
parent9810bf43bd688e67a835dc08beda6cc2bae9dc25 (diff)
downloadgnurl-fec0800be9379fbad16e626d949b24d6a95164bf.tar.gz
gnurl-fec0800be9379fbad16e626d949b24d6a95164bf.tar.bz2
gnurl-fec0800be9379fbad16e626d949b24d6a95164bf.zip
TODO: implement support for CURLOPT_PREQUOTE with SFTP
... also updated the CURLOPT_PREQUOTE.3 man page to mention the correct protocol support. Closes #1514
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_PREQUOTE.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_PREQUOTE.313
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/libcurl/opts/CURLOPT_PREQUOTE.3 b/docs/libcurl/opts/CURLOPT_PREQUOTE.3
index e3ba1eb0e..530c51e38 100644
--- a/docs/libcurl/opts/CURLOPT_PREQUOTE.3
+++ b/docs/libcurl/opts/CURLOPT_PREQUOTE.3
@@ -22,22 +22,25 @@
.\"
.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;