fix: 修复 SFTP 拖拽单个文件上传失败的问题

This commit is contained in:
hstyi
2025-01-10 18:41:46 +08:00
committed by hstyi
parent 49cef39b8b
commit 5027fd9dfb
2 changed files with 2 additions and 1 deletions

View File

@@ -239,7 +239,7 @@ class FileSystemPanel(
}
} else {
transportPanel.transport(
sourceWorkdir = localFileSystemPanel.workdir,
sourceWorkdir = path.path.parent,
targetWorkdir = workdir,
isSourceDirectory = false,
sourcePath = path.path,

View File

@@ -102,6 +102,7 @@ class TransportManager : Disposable {
}
if (transport == null) {
needDelay = true
continue
}