From 79ecb83e6a89e93a6e2ae9eab4721d1b1f9c2654 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Tue, 21 Jan 2025 09:10:32 -0800 Subject: [PATCH] Update info about limit on number of temp file names (#34491) --- aspnetcore/mvc/models/file-uploads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/mvc/models/file-uploads.md b/aspnetcore/mvc/models/file-uploads.md index 9024e7b95987..f73c88f9426a 100644 --- a/aspnetcore/mvc/models/file-uploads.md +++ b/aspnetcore/mvc/models/file-uploads.md @@ -310,7 +310,7 @@ Files uploaded using the technique ar For another example that loops over multiple files for upload and uses safe file names, see `Pages/BufferedMultipleFileUploadPhysical.cshtml.cs` in the sample app. > [!WARNING] -> [Path.GetTempFileName](xref:System.IO.Path.GetTempFileName*) throws an if more than 65,535 files are created without deleting previous temporary files. The limit of 65,535 files is a per-server limit. For more information on this limit on Windows OS, see the remarks in the following topics: +> In .NET 7 and earlier versions, [Path.GetTempFileName](xref:System.IO.Path.GetTempFileName%2A) throws an when more than 65,535 files are created without deleting previous temporary files. The limit of 65,535 files is a per-server limit. For more information on this limit on Windows OS, see the remarks in the following articles: > > * [GetTempFileNameA function](/windows/desktop/api/fileapi/nf-fileapi-gettempfilenamea#remarks) > *