Skip to content

Commit 168b494

Browse files
Update aspnetcore/mvc/models/file-uploads.md
Co-authored-by: Rick Anderson <[email protected]>
1 parent 97c1881 commit 168b494

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%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:
313+
> In .NET 7 and earlier versions, [Path.GetTempFileName](xref:System.IO.Path.GetTempFileName%2A) throws an <xref:System.IO.IOException> 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:
314314
>
315315
> * [GetTempFileNameA function](/windows/desktop/api/fileapi/nf-fileapi-gettempfilenamea#remarks)
316316
> * <xref:System.IO.Path.GetTempFileName*>

0 commit comments

Comments
 (0)