feat: refine sftp pane upload workflow
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user