As with many asp.net applications, AJAX Uploader makes use of the appSettings node in web.config file to store custom configuration settings that apply site wide. AppSettings is a predefined configuration section provided by the .NET framework.

The following is the list of available appSettings.

Key Description
CuteWebUI.AjaxUploader.TempDirectory
Sets a temporary file location used for file uploading. Unlike standard ASP.NET HtmlInputFile control, AJAX Uploader does not read the entire uploaded file into memory. It streams the data into a temporary file while the data is received. For this reason, you must specify a temporary file location.

Example:

<add key="CuteWebUI.AjaxUploader.TempDirectory" value="~/UploaderTemp" />
AjaxUploaderLicense
Sets the path where you want to store the Uploader license file.

Example:

<add key="AjaxUploaderLicense" value="~/somefolder/AjaxUploader.lic" />
CuteWebUI.AjaxUploader.DefaultMaxSizeKB
Sets the limit for the size of uploaded file, in kilobytes. This limit can be used to prevent denial of service attacks that are caused, for example, by users uploading large files to the server.

Example:

<add key="CuteWebUI.AjaxUploader.DefaultMaxSizeKB" value="1024" />
CuteWebUI.AjaxUploader.GlobalMaxSizeKB
Sets the limit for the size of uploaded file, in kilobytes. This limit can be used to prevent denial of service attacks that are caused, for example, by users uploading large files to the server.

Example:

<add key="CuteWebUI.AjaxUploader.GlobalMaxSizeKB" value="1024" />
CuteWebUI.AjaxUploader.UploadSpeedKB
Specifies the maximum transfer rate in KB/s (kilobytes per second). By default, the uploader takes the maximum speed. You can set a low upload speed to test the uploader progress bar.

Example:

<add key="CuteWebUI.AjaxUploader.UploadSpeedKB" value="20" />
CuteWebUI.AjaxUploader.DefaultExtensions
Gets or sets the allowed file extensions for uploading. Default is empty string, indicating all file extensions. The input string should be a comma-separated list of allowed extensions.

Example:

<add key="CuteWebUI.AjaxUploader.DefaultExtensions" value="zip,rar,txt,doc,jpg,gif,mp3" />
CuteWebUI.AjaxUploader.RewritePath
Specifies how you rewrite paths in applications. You may assigns an internal rewrite path so the rewriting information should be passed to uploader. THe input string could be "PathAndQuery", "RawUrl", "False", "IIS7".

Example:

<add key="CuteWebUI.AjaxUploader.RewritePath" value="PathAndQuery" />
CuteWebUI.AjaxUploader.BeginRequest
Specifies whether to intercept the BeginRequest.

Example:

<add key="CuteWebUI.AjaxUploader.BeginRequest" value="Delay" />
CuteWebUI.AjaxUploader.AllowSession
Specifies whether to allow sessions.

Example:

<add key="CuteWebUI.AjaxUploader.AllowSession" value="true" />
CuteWebUI.AjaxUploader.UseAspNetStream
Sets this attribute to true when IFrame mode is not able to display correct progress information or ASP.NET is not able to stream the data into temp file.

Example:

<add key="CuteWebUI.AjaxUploader.UseAspNetStream" value="true" />
CuteWebUI.AjaxUploader.HideDirectory
Sets this attribute to true if you don't want to display directory information in error messages.

Example:

<add key="CuteWebUI.AjaxUploader.HideDirectory" value="true" />
CuteWebUI.AjaxUploader.ShowStackTrace
Sets this attribute to true if you want to display Stack Trace in error messages.

Example:

<add key="CuteWebUI.AjaxUploader.ShowStackTrace" value="true" />
CuteWebUI.AjaxUploader.FlashUploadPage
Sets a special page for Flash - Integrated Windows Authentication.

Example:

<add key="CuteWebUI.AjaxUploader.FlashUploadPage" value="http://mytempsite.com/Upload/AnyName.aspx" />
CuteWebUI.AjaxUploader.Provider
Specifies a custom provider.

Example:

<add key="CuteWebUI.AjaxUploader.Provider" value="UploaderDatabaseProvider.UploaderSqlServerProvider,UploaderDatabaseProvider" />
CuteWebUI.AjaxUploader.WindowsDomain
When uploading a file using this virtual folder pointing to UNC share, Impersonation need to be used due to Asp_wp account does not have access to the network resources by default. To impersonate a specific Windows user, you need to specify three required parameters: a domain name, username and password.

Example:

<add key="CuteWebUI.AjaxUploader.WindowsDomain" value="mydomain" />
CuteWebUI.AjaxUploader.WindowsUsername
When uploading a file using this virtual folder pointing to UNC share, Impersonation need to be used due to Asp_wp account does not have access to the network resources by default. To impersonate a specific Windows user, you need to specify three required parameters: a domain name, username and password.

Example:

<add key="CuteWebUI.AjaxUploader.WindowsUsername" value="myusername" />
CuteWebUI.AjaxUploader.WindowsPassword
When uploading a file using this virtual folder pointing to UNC share, Impersonation need to be used due to Asp_wp account does not have access to the network resources by default. To impersonate a specific Windows user, you need to specify three required parameters: a domain name, username and password.

Example:

<add key="CuteWebUI.AjaxUploader.WindowsPassword" value="mypassword" />

Send feedback about this topic to CuteSoft. © 2003 - 2017 CuteSoft Components Inc. All rights reserved.