Skip to content

Commit 97c1881

Browse files
authored
Update aspnetcore/mvc/models/file-uploads.md
1 parent b0eef0d commit 97c1881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/mvc/models/file-uploads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Files uploaded using the <xref:Microsoft.AspNetCore.Http.IFormFile> technique ar
310310
For another example that loops over multiple files for upload and uses safe file names, see `Pages/BufferedMultipleFileUploadPhysical.cshtml.cs` in the sample app.
311311

312312
> [!WARNING]
313-
> [Path.GetTempFileName](xref:System.IO.Path.GetTempFileName*) throws an <xref:System.IO.IOException> if more than 65,535 files are created without deleting previous temporary files. The limit of 65,535 files is a per-server limit. This limitation does not exist on operating systems other than Windows. Starting in .NET 8, the limitation does not exist on any operating system. For more information on this limit on Windows OS, see the remarks in the following topics:
313+
> [Path.GetTempFileName](xref:System.IO.Path.GetTempFileName%2A) throws an <xref:System.IO.IOException> if more than 65,535 files are created without deleting previous temporary files. The limit of 65,535 files is a per-server limit. This limitation does not exist on operating systems other than Windows. Starting in .NET 8, the limitation does not exist on any operating system. For more information on this limit on Windows OS, see the remarks in the following articles:
314314
>
315315
> * [GetTempFileNameA function](/windows/desktop/api/fileapi/nf-fileapi-gettempfilenamea#remarks)
316316
> * <xref:System.IO.Path.GetTempFileName*>

0 commit comments

Comments
 (0)