---
title: "UploadSettings..::.ChunkSize Property HTML5/Flash Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_ChunkSize.htm
product: "Upload Suite 8"
---

# UploadSettings.ChunkSize Property HTML5/Flash Uploader ASP.NET

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a maximium allowed size of binary data (in bytes) uploaded within a POST request.
 
**Namespace:** [Aurigma.ImageUploaderFlash](https://www.aurigma.com/docs/us8/FH_N_Aurigma_ImageUploaderFlash.htm.md)
 **Assembly:** Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)
 
## Syntax
  
```csharp
public int ChunkSize { get; set; }
```
 
### Property Value
 
Type: [System..Int32](http://msdn2.microsoft.com/en-us/library/td2s409d)
 
The number of bytes allowed to upload within a request. When this value is `0`, converted file uploaded entirely in accordiance with [FilesPerPackage](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_FilesPerPackage.htm.md) and [UploadConverterOutputSeparately](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_UploadConverterOutputSeparately.htm.md) properties.
 
Default value is **0**.
 
## Remarks
  
When this property is greater than `0`, HTML5/Flash Uploader adds converted files and metadata to a POST request until the request length exceeds ChunkSize + metadata size bytes. If the last added file does not meet the chunk size limitation, HTML5/Flash Uploader adds just a portion of this file to complete this chunk. The remaining portion will be added at the beginning of the next chunk. Each chunk is submitted to a server as a separate request. It gives a number of benefits: makes each request compartible with maximum POST request length limitation and allows resuming partially uploaded files.
 
**Note** 
When you turn this mode on, it is highly recommended to use HTML5/Flash Uploader ASP.NET to handle upload on the server side. This wrapper automatically bundles pieces of one file, uploaded in separated chunks, and provides an access to this file as if it was uploaded entirely.
   
## See Also

### Reference

- [UploadSettings Class](https://www.aurigma.com/docs/us8/FH_T_Aurigma_ImageUploaderFlash_UploadSettings.htm.md)
- [Aurigma.ImageUploaderFlash Namespace](https://www.aurigma.com/docs/us8/FH_N_Aurigma_ImageUploaderFlash.htm.md)
- [UploadSettings..FilesPerPackage](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_FilesPerPackage.htm.md)
- [UploadSettings..MaxConnectionCount](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_MaxConnectionCount.htm.md)
- [$au.uploadSettings.chunkSize JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadSettings_chunkSize.htm.md)
- [UploadSettings.ChunkSize PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_ChunkSize.htm.md)

### Manual

- [Sending File at Once or in Several Parts in HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/sending-file-in-single-request-or-in-several-chunks.htm.md)
