Gets or sets the value that determines the chunk size, in bytes, which will be used for parsing request.
Namespace:
EasyAlgo.EAUploadAssembly: EasyAlgo.EAUpload (in EasyAlgo.EAUpload.dll)
Version: 1.3.2.0
Syntax
Field Value
Type: System..::.Int32The Int32 value, in bytes, of chunk size that is used for parsing request. Default value is 65536 bytes (recommended). Min value is 1 bytes.
Remarks
This property is a reflection of EAUpload configuration parameter (<EasyAlgo.EAUpload>/<Environment ... ChunkSize="" ... >).
The logic of EAUpload component defines that request is received on the server by chunks, it allows to reduce system memory usage. On IIS 5.0/5.1 the value of property should not be greater than 1000000 bytes (0,95 MB).
Note:If you want to change this property at the runtime, you should define it at the Initializing stage of an upload (see EasyAlgo.EAUpload..::.UploadState for more information). All changes for processed uploads will be ignored.
Also if you have changed this property for the whole of EAUpload component (EAUploadModule..::.CommonEnvironment property) then new value will be used for the new uploads only.
The logic of EAUpload component defines that request is received on the server by chunks, it allows to reduce system memory usage. On IIS 5.0/5.1 the value of property should not be greater than 1000000 bytes (0,95 MB).
Examples
You can find an example in the description of UploadEnvironment class.
Exceptions
| Exception | Condition |
|---|---|
| EasyAlgo.EAUpload..::.EAUploadConfigException | Thrown when the specified value is less than 1 bytes. |
