---
title: "UploadSettings.MaxConnectionCount Property  ActiveX/Java Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/JA_P_P_UploadSettings_MaxConnectionCount.htm
product: "Upload Suite 8"
---

# UploadSettings.MaxConnectionCount Property ActiveX/Java Uploader PHP

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 number of simultaneous connections used to prepare and upload files.

## Syntax
 
```
public function getMaxConnectionCount() {
}

public function setMaxConnectionCount($value) {
}
```
 
### Property Value
 
Type: **integer**
 
The number of concurrent upload streams.
 
Default value is **1**.

## Remarks
 Multiple connections allow you to complete upload process faster. However too large value may noticeably decrease performance of your web server. For example, if you specify `10`, ActiveX/Java Uploader will establish up to 10 HTTP connections. It is the same as if 10 different users start uploading files to your website. So, it it not suggested to set up the uploader to upload with more than 3-4 concurrent threads.

## See Also
 
### Reference
 
- [Aurigma.ImageUploader.UploadSettings.MaxConnectionCount ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_UploadSettings_MaxConnectionCount.htm.md)
- [$au.uploadSettings.maxConnectionCount JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_uploadSettings_maxConnectionCount.htm.md)

### Manual
 
- [Enabling Multi-threaded Upload via ActiveX/Java Uploader in PHP](https://www.aurigma.com/docs/us8/enabling-multi-threaded-upload-php.htm.md)
