Skip to main content
A newer version of this page is available. .
Tab

UploadAdvancedModeSettings.TemporaryFolder Property

Gets or sets the server folder where files, which are currently being uploaded, are maintained.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("~/App_Data/UploadTemp/")]
public string TemporaryFolder { get; set; }

Property Value

Type Default Description
String "~/App_Data/UploadTemp/"

A String value specifying the path to the folder.

Property Paths

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

Remarks

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:

  • The file uploaded is complete.
  • After the pre-defined time has elapsed. This period of time is defined by the UploadAdvancedModeSettings.UploadingExpirationTime property and is set to 6 hours, by default. Note that the file is removed only if the server hasn’t been restarted during this time. If the server is rebooted during this time, the file will be removed in 6 days.
See Also