aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-aspxhtmleditoruploadsettingsbase-2e652764.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 uploaded, are maintained.
Namespace : DevExpress.Web.ASPxHtmlEditor
Assembly : DevExpress.Web.ASPxHtmlEditor.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("~\\App_Data\\UploadTemp\\")]
public string AdvancedUploadModeTemporaryFolder { get; set; }
<DefaultValue("~\App_Data\UploadTemp\")>
Public Property AdvancedUploadModeTemporaryFolder As String
| Type | Default | Description |
|---|---|---|
| String | "~\App_Data\UploadTemp" |
The folder path.
|
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:
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
ASPxHtmlEditorUploadSettingsBase Class