libcurl docs: add the new FTP accept option + errors
This commit is contained in:
parent
130fac6c16
commit
26ce3ac328
@ -2070,6 +2070,10 @@ This option requires that libcurl was built with a resolver backend that
|
|||||||
supports this operation. The c-ares backend is the only such one.
|
supports this operation. The c-ares backend is the only such one.
|
||||||
|
|
||||||
(Added in 7.24.0)
|
(Added in 7.24.0)
|
||||||
|
.IP CURLOPT_ACCEPTTIMOUT_MS
|
||||||
|
Pass a long telling libcurl the maximum number of milliseconds to wait for a
|
||||||
|
server to connect back to libcurl when an active FTP connection is used. If no
|
||||||
|
timeout is set, the internal default of 60000 will be used. (Added in 7.24.0)
|
||||||
.SH SSL and SECURITY OPTIONS
|
.SH SSL and SECURITY OPTIONS
|
||||||
.IP CURLOPT_SSLCERT
|
.IP CURLOPT_SSLCERT
|
||||||
Pass a pointer to a zero terminated string as parameter. The string should be
|
Pass a pointer to a zero terminated string as parameter. The string should be
|
||||||
|
@ -66,9 +66,15 @@ remote server is probably not an OK FTP server.
|
|||||||
.IP "CURLE_REMOTE_ACCESS_DENIED (9)"
|
.IP "CURLE_REMOTE_ACCESS_DENIED (9)"
|
||||||
We were denied access to the resource given in the URL. For FTP, this occurs
|
We were denied access to the resource given in the URL. For FTP, this occurs
|
||||||
while trying to change to the remote directory.
|
while trying to change to the remote directory.
|
||||||
|
.IP "CURLE_FTP_ACCEPT_FAILED (10)"
|
||||||
|
While waiting for the server to connect back when an active FTP session is
|
||||||
|
used, an error code was sent over the control connection or similar.
|
||||||
.IP "CURLE_FTP_WEIRD_PASS_REPLY (11)"
|
.IP "CURLE_FTP_WEIRD_PASS_REPLY (11)"
|
||||||
After having sent the FTP password to the server, libcurl expects a proper
|
After having sent the FTP password to the server, libcurl expects a proper
|
||||||
reply. This error code indicates that an unexpected code was returned.
|
reply. This error code indicates that an unexpected code was returned.
|
||||||
|
.IP "CURLE_FTP_ACCEPT_TIMEOUT (12)"
|
||||||
|
During an active FTP session while waiting for the server to connect, the
|
||||||
|
\fICURLOPT_ACCEPTTIMOUT_MS\fP (or the internal default) timeout expired.
|
||||||
.IP "CURLE_FTP_WEIRD_PASV_REPLY (13)"
|
.IP "CURLE_FTP_WEIRD_PASV_REPLY (13)"
|
||||||
libcurl failed to get a sensible result back from the server as a response to
|
libcurl failed to get a sensible result back from the server as a response to
|
||||||
either a PASV or a EPSV command. The server is flawed.
|
either a PASV or a EPSV command. The server is flawed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user