aspnet-devexpress-dot-web-dot-filemanagersettingsediting-3596392d.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 downloaded, are maintained.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("~/FileManagerTemp")]
public virtual string TemporaryFolder { get; set; }
<DefaultValue("~/FileManagerTemp")>
Public Overridable Property TemporaryFolder As String
| Type | Default | Description |
|---|---|---|
| String | "~/FileManagerTemp" |
The folder path.
|
You can access this nested property as listed below:
| Library | Object Type | Path to TemporaryFolder |
|---|---|---|
| ASP.NET MVC Extensions | FileManagerSettings |
.SettingsEditing .TemporaryFolder
| | ASP.NET Web Forms Controls | ASPxFileManager |
.SettingsEditing .TemporaryFolder
|
When multiple file selection is enabled (the FileManagerSettings.EnableMultiSelect is set to true), ASPxFileManager saves each downloaded file into a temporary file within a specific server folder. Use the TemporaryFolder property to specify the folder containing temporary files.
Note
Ensure that the ASP.NET application has ‘write’ access to the temporary folder on the server.
Note that files are deleted from the temporary folder in the following cases:
See Also
FileManagerSettingsEditing Class