feat: refine sftp pane upload workflow

This commit is contained in:
liumangmang
2026-04-22 17:59:07 +08:00
parent 423cca97a6
commit 165cc0e35b
10 changed files with 1188 additions and 74 deletions
@@ -69,7 +69,7 @@ export default function TransferCenterModal({
onTasksChange([group, ...tasks])
targetIds.forEach(async (targetId) => {
const response = await uploadFile(targetId, localTargetPath, file)
const response = await uploadFile(targetId, localTargetPath, file, { overwrite: true })
const taskId = response.data.taskId
updateTaskGroup(groupId, (current) => ({
...current,