Copy command support for SFTP

This commit is contained in:
veeso
2021-05-15 19:09:58 +02:00
parent aaff616332
commit f31b047671
3 changed files with 38 additions and 6 deletions

View File

@@ -729,7 +729,7 @@ impl FileTransfer for ScpFileTransfer {
Some(p) => PathBuf::from(p),
None => {
return Err(FileTransferError::new_ex(
FileTransferErrorType::UnsupportedFeature,
FileTransferErrorType::DirStatFailed,
String::from("Path has no parent"),
))
}