Rewrite sftp file copy to Qt way (#562)
Rewrite sftp file copy to Qt way
This commit is contained in:
parent
b05a5ee1c6
commit
16db23c159
3 changed files with 17 additions and 25 deletions
|
@ -33,9 +33,9 @@ namespace libssh {
|
|||
const std::function<ErrorCode (const QString &, Client &)> &cbReadStdErr);
|
||||
ErrorCode writeResponse(const QString &data);
|
||||
ErrorCode sftpFileCopy(const SftpOverwriteMode overwriteMode,
|
||||
const std::string& localPath,
|
||||
const std::string& remotePath,
|
||||
const std::string& fileDesc);
|
||||
const QString &localPath,
|
||||
const QString &remotePath,
|
||||
const QString& fileDesc);
|
||||
ErrorCode getDecryptedPrivateKey(const ServerCredentials &credentials, QString &decryptedPrivateKey, const std::function<QString()> &passphraseCallback);
|
||||
private:
|
||||
ErrorCode closeChannel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue