save local file paths in bookmark (#204)

* fix: renamed Bookmark 'directory' to 'remote_path' (keep name in file)

* feat: local_path as file transfer parameter and in bookmark
This commit is contained in:
Christian Visintin
2023-07-06 16:05:22 +02:00
committed by GitHub
parent ee28d34f29
commit ca005cbecd
16 changed files with 261 additions and 98 deletions
+6 -3
View File
@@ -59,7 +59,8 @@ impl AuthActivity {
Ok(FileTransferParams {
protocol,
params: ProtocolParams::Generic(params),
entry_directory: self.get_input_remote_directory(),
local_path: self.get_input_local_directory(),
remote_path: self.get_input_remote_directory(),
})
}
@@ -72,7 +73,8 @@ impl AuthActivity {
Ok(FileTransferParams {
protocol: FileTransferProtocol::AwsS3,
params: ProtocolParams::AwsS3(params),
entry_directory: self.get_input_remote_directory(),
local_path: self.get_input_local_directory(),
remote_path: self.get_input_remote_directory(),
})
}
@@ -91,7 +93,8 @@ impl AuthActivity {
Ok(FileTransferParams {
protocol: FileTransferProtocol::Smb,
params: ProtocolParams::Smb(params),
entry_directory: self.get_input_remote_directory(),
local_path: self.get_input_local_directory(),
remote_path: self.get_input_remote_directory(),
})
}