We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c693664 commit 2f8a3ebCopy full SHA for 2f8a3eb
1 file changed
src/Pdf2Html/Controllers/RootController.cs
@@ -38,6 +38,7 @@ public async Task<ActionResult> Post()
38
await using (var tempFileStream = System.IO.File.Open(inputFile, FileMode.Truncate))
39
{
40
await Request.Body.CopyToAsync(tempFileStream);
41
+ await tempFileStream.FlushAsync();
42
_logger.LogInformation($"Copied {FormatToMb(new FileInfo(inputFile).Length)} to {inputFile}");
43
}
44
0 commit comments