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