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.v24.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. |
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.