diff --git a/src/WorkFlowCheck.API/Controllers/SyncController.cs b/src/WorkFlowCheck.API/Controllers/SyncController.cs index b54015a..e54fc19 100644 --- a/src/WorkFlowCheck.API/Controllers/SyncController.cs +++ b/src/WorkFlowCheck.API/Controllers/SyncController.cs @@ -479,7 +479,9 @@ namespace WorkFlowCheck.API.Controllers var fileBytes = await System.IO.File.ReadAllBytesAsync(filePath); var fileType = "application/octet-stream"; - + + Response.Headers.Add("Content-Length", fileBytes.Length.ToString()); + return File(fileBytes, fileType, fileName); } catch (Exception ex)