Skip to content

Commit

Permalink
feat: unsupport transfer continuing when uploading folder or multi-files
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Nov 1, 2024
1 parent beba5b5 commit 1115d10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/upload/app/handler4.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ func (a *appController) UploadChunks(c *fiber.Ctx) error {
//fileutils.ClearTempFileContent(innerIdentifier, uploadsDir)
newFile = true
info.Offset = offset
a.server.fileInfoMgr.UpdateInfo(innerIdentifier, info)
}

fileSize, err := fileutils.SaveFile4(fileHeader, fileutils.GetTempFilePathById4(innerIdentifier, uploadsDir), newFile)
Expand Down

0 comments on commit 1115d10

Please sign in to comment.