Back to Devexpress

FileManagerSettingsEditing.TemporaryFolder Property

aspnet-devexpress-dot-web-dot-filemanagersettingsediting-3596392d.md

latest2.6 KB
Original Source

FileManagerSettingsEditing.TemporaryFolder Property

SECURITY-RELATED CONSIDERATIONS

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

Declaration

csharp
[DefaultValue("~/FileManagerTemp")]
public virtual string TemporaryFolder { get; set; }
vb
<DefaultValue("~/FileManagerTemp")>
Public Overridable Property TemporaryFolder As String

Property Value

TypeDefaultDescription
String"~/FileManagerTemp"

The folder path.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to TemporaryFolder
ASP.NET MVC ExtensionsFileManagerSettings

.SettingsEditing .TemporaryFolder

| | ASP.NET Web Forms Controls | ASPxFileManager |

.SettingsEditing .TemporaryFolder

|

Remarks

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:

  • Once a file is downloaded.
  • If an exception occurs during file upload.

See Also

File Download

FileManagerSettingsEditing Class

FileManagerSettingsEditing Members

DevExpress.Web Namespace