Skip to main content

ASPxHtmlEditorUploadSettingsBase.AdvancedUploadModeTemporaryFolder Property

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

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v21.2.dll

Declaration

[DefaultValue("~\\App_Data\\UploadTemp\\")]
public string AdvancedUploadModeTemporaryFolder { 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 AdvancedUploadModeTemporaryFolder
ASP.NET MVC Extensions MVCxHtmlEditorInsertAudioDialogSettings
.SettingsAudioUpload.AdvancedUploadModeTemporaryFolder
MVCxHtmlEditorInsertFlashDialogSettings
.SettingsFlashUpload.AdvancedUploadModeTemporaryFolder
MVCxHtmlEditorInsertImageDialogSettings
.SettingsImageUpload.AdvancedUploadModeTemporaryFolder
MVCxHtmlEditorInsertVideoDialogSettings
.SettingsVideoUpload.AdvancedUploadModeTemporaryFolder
ASP.NET Web Forms Controls HtmlEditorInsertAudioDialogSettings
.SettingsAudioUpload.AdvancedUploadModeTemporaryFolder
HtmlEditorInsertFlashDialogSettings
.SettingsFlashUpload.AdvancedUploadModeTemporaryFolder
HtmlEditorInsertImageDialogSettings
.SettingsImageUpload.AdvancedUploadModeTemporaryFolder
HtmlEditorInsertVideoDialogSettings
.SettingsVideoUpload.AdvancedUploadModeTemporaryFolder

Remarks

When the ASPxHtmlEditorUploadSettingsBase.UseAdvancedUploadMode property is set to true, 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 AdvancedUploadModeTemporaryFolder property to specify the folder containing temporary files.

Note that files are deleted from the temporary folder in the following cases:

  • Once a file is uploaded.
  • After the pre-defined time has elapsed (generally twenty minutes).

Additionally, the file might be removed if the server is shutting down in the regular manner, i.e., via the stop command. If the server is shutting down abnormally, the temporary file is not removed. However, it will be removed later when the server is restarted.

See Also