mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-15 18:02:58 +08:00
fix: 修复 SFTP 拖拽单个文件上传失败的问题
This commit is contained in:
@@ -239,7 +239,7 @@ class FileSystemPanel(
|
||||
}
|
||||
} else {
|
||||
transportPanel.transport(
|
||||
sourceWorkdir = localFileSystemPanel.workdir,
|
||||
sourceWorkdir = path.path.parent,
|
||||
targetWorkdir = workdir,
|
||||
isSourceDirectory = false,
|
||||
sourcePath = path.path,
|
||||
|
||||
@@ -102,6 +102,7 @@ class TransportManager : Disposable {
|
||||
}
|
||||
|
||||
if (transport == null) {
|
||||
needDelay = true
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user