CURLOPT_POSTQUOTE commands only run when no error

This commit is contained in:
Daniel Stenberg 2009-04-23 21:43:01 +00:00
parent 2236a247d9
commit 0145919a9e
1 changed files with 5 additions and 5 deletions

View File

@ -1078,11 +1078,11 @@ rename, rm, rmdir, symlink (see
.BR curl (1)) .BR curl (1))
(SFTP support added in 7.16.3) (SFTP support added in 7.16.3)
.IP CURLOPT_POSTQUOTE .IP CURLOPT_POSTQUOTE
Pass a pointer to a linked list of FTP or SFTP commands to pass to the Pass a pointer to a linked list of FTP or SFTP commands to pass to the server
server after your FTP transfer request. The linked list should be a after your FTP transfer request. The commands will only be run if no error
fully valid list of struct curl_slist structs properly filled in as occurred. The linked list should be a fully valid list of struct curl_slist
described for \fICURLOPT_QUOTE\fP. Disable this operation again by structs properly filled in as described for \fICURLOPT_QUOTE\fP. Disable this
setting a NULL to this option. operation again by setting a NULL to this option.
.IP CURLOPT_PREQUOTE .IP CURLOPT_PREQUOTE
Pass a pointer to a linked list of FTP commands to pass to the server after 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 the transfer type is set. The linked list should be a fully valid list of