EAUpload component has the following settings schema, all fields are set to their default values
<EasyAlgo.EAUpload> <Environment TemporaryPath="C:\Temp" SaveDirectlyTo="" ChunkSize="65536" ProcessPages="*" IgnorePages="" UploadIDParameter="UploadId" UploadTTL="60" MaxRequestLength="4096" ExecutionTimeout="90" EnableProgressInfo="true" AllowedFileExtentions="" BandwidthLimitation="" SerialKey="" /> <ErrorsProcessing ThrowErrorsImmediately="true" ProcessRequestOnError="false" WriteToSystemEventLog="false" DefaultExceptionRedirect="" EAUploadExceptionRedirect="" EAUploadConfigExceptionRedirect="" EAUploadLicenseExceptionRedirect="" EAUploadCoreExceptionRedirect="" EAUploadRequestLengthExceededRedirect="" /> </EasyAlgo.EAUpload>
EasyAlgo.EAUpload\Environment section
| Parameter | Default value | Description |
|---|---|---|
| TemporaryPath | "C:\Temp" | The path on a web server, that will be used for temporary storing of an uploaded files. |
| SaveDirectlyTo | "" | The path on a web server for storing uploaded files without saving they in the temporary folder. |
| ChunkSize | "65536" | The chunk size, in bytes, that is used for parsing request. |
| ProcessPages | "*" | Pages requests to which should be processed by EAUpload component. |
| IgnorePages | "" | Pages requests to which should be ignored by EAUpload component. Value of this parameter has priority over value of ProcessPages parameter. |
| UploadIDParameter | "UploadId" | The name of query string parameter, which value can be used for getting an access for the specific Upload and its status. |
| UploadTTL | "60" | Time to life, in minutes, for Upload class instance. |
| MaxRequestLength | "4096" | The maximum request size, excess of which should be suppressed by EAUpload component. The maximum value is "4194304" (4 GB) This parameter is a replacment of httRuntime/maxRequestLength parameter of the httpRuntime configuration. If value of the peremeter is -1 then httRuntime/maxRequestLength parameter value is used. |
| ExecutionTimeout |
"90" .NET 1.1 "110" .NET 2.0/3.0/3.5 |
The maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET. This parameter is a replacment of httRuntime/executionTimeout parameter of the httpRuntime configuration. If value of the peremeter is -1 then httRuntime/executionTimeout parameter value is used. |
| EnableProgressInfo | "true" | Parameter indicating whether status information of upload should be calculated. |
| BandwidthLimitation | "-1" | The bandwidth limit, in bytes per second, for requests which are processed by EAUpload component. |
| AllowedFileExtentions | "" | The allowed extentions of uploading files. |
| SerialKey | "" | The serial key for registration of EAUpload component. |
EasyAlgo.EAUpload\ErrorsProcessing section
| Parameter | Default value | Description |
|---|---|---|
| ThrowErrorsImmediately | "true" | Parameter specifies whether any exceptions should be caught by EAUploadModule during the request processing. |
| ProcessRequestOnError | "false" | Parameter specifies whether incoming request should be read to end if an exception occur. |
| WriteToSystemEventLog | "false" | Parameter specifies whether a record in System EventLog should be created, when the exception was occurred. |
| DefaultExceptionRedirect | "" | Parameter defines the URL to which the application is redirected when any exceptions occur while request is processing by EAUpload. |
| EAUploadExceptionRedirect | "" | Parameter defines the URL to which the application is redirected when any EAUpload exceptions occur while request is processing by EAUpload. |
| EAUploadConfigExceptionRedirect | "" | Parameter defines the URL to which the application is redirected when EAUploadConfigException exception occurs while request is processing by EAUpload. |
| EAUploadLicenseExceptionRedirect | "" | Parameter defines the URL to which the application is redirected when EAUploadLicenseException exception occurs while request is processing by EAUpload. |
| EAUploadCoreExceptionRedirect | "" | Parameter defines the URL to which the application is redirected when EAUploadCoreException exception occurs while request is processing by EAUpload. |
| EAUploadRequestLengthExceededRedirect | "" | Parameter defines the URL to which the application is redirected when EAUploadRequestLengthExceeded exception occurs while request is processing by EAUpload. |
