SFTP: support '*' prefix for quote operations

prefixing a command with '*' means it is allowed to fail without
aborting the chain actions
This commit is contained in:
Jonas Schnelli
2011-11-18 15:55:09 +01:00
committed by Daniel Stenberg
parent 10ecdf5078
commit f64812ca63
4 changed files with 60 additions and 27 deletions

View File

@@ -115,6 +115,7 @@ struct ssh_conn {
char *quote_path1; /* two generic pointers for the QUOTE stuff */
char *quote_path2;
LIBSSH2_SFTP_ATTRIBUTES quote_attrs; /* used by the SFTP_QUOTE state */
bool acceptfail; /* accept file in SFTP_QUOTE state */
char *homedir; /* when doing SFTP we figure out home dir in the
connect phase */