new & fix

- new: switch of sftp `rm -rf` dir
- fix: sftp upload
- fix: sftp uploading progress
- opt.: editor will save content if is editing file
This commit is contained in:
lollipopkit
2023-08-27 00:10:01 +08:00
parent 65de4a8ca5
commit 7abadfb5a6
18 changed files with 129 additions and 74 deletions

View File

@@ -315,7 +315,7 @@ class _LocalStoragePageState extends State<LocalStoragePage> {
}
locator<SftpProvider>().add(SftpReq(
spi,
remotePath,
'$remotePath/$fileName',
file.absolute.path,
SftpReqType.upload,
));