From 1115d1032de057d289bb96c34bab6abb5430a0a4 Mon Sep 17 00:00:00 2001 From: lovehunter9 Date: Fri, 1 Nov 2024 12:53:51 +0800 Subject: [PATCH] feat: unsupport transfer continuing when uploading folder or multi-files --- cmd/upload/app/handler4.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/upload/app/handler4.go b/cmd/upload/app/handler4.go index 02b0d1d..d753127 100644 --- a/cmd/upload/app/handler4.go +++ b/cmd/upload/app/handler4.go @@ -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)