Skip to content

Commit

Permalink
dropbox same copy
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Dec 13, 2024
1 parent 8c82f86 commit d1aac1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/backend/http/awss3.go
Original file line number Diff line number Diff line change
Expand Up @@ -756,9 +756,11 @@ func moveAwss3FolderOrFiles(src, dst string, w http.ResponseWriter, r *http.Requ
srcDrive, srcName, srcPath := parseAwss3Path(src, true)
_, _, dstPath := parseAwss3Path(dst, true)

dstDir, _ := filepath.Split(dstPath)

param := Awss3MoveFileParam{
CloudFilePath: srcPath,
NewCloudDirectory: dstPath,
NewCloudDirectory: dstDir,
Drive: srcDrive, // "my_drive",
Name: srcName, // "file_name",
}
Expand Down

0 comments on commit d1aac1f

Please sign in to comment.