aspnet-devexpress-dot-web-dot-uploadadvancedmodesettings-f9b4e323.md
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Gets or sets the server folder where files, which are currently being uploaded, are maintained.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("~/App_Data/UploadTemp/")]
public string TemporaryFolder { get; set; }
<DefaultValue("~/App_Data/UploadTemp/")>
Public Property TemporaryFolder As String
| Type | Default | Description |
|---|---|---|
| String | "~/App_Data/UploadTemp/" |
The folder path.
|
You can access this nested property as listed below:
| Library | Object Type | Path to TemporaryFolder |
|---|---|---|
| ASP.NET MVC Extensions | UploadControlSettings |
.AdvancedModeSettings .TemporaryFolder
| | ASP.NET Web Forms Controls | ASPxUploadControl |
.AdvancedModeSettings .TemporaryFolder
|
In Advanced Mode, an uploaded file is sent to the server in small packets (one at a time). The packets are saved in a temporary file until upload is complete. Use the TemporaryFolder property to specify the folder containing temporary files.
Note that files are deleted from the temporary folder in the following cases:
See Also
UploadAdvancedModeSettings Class