Gets or sets a number of simultaneous connections used to prepare and upload files.




    uploadSettings: {
        //...other params...
        maxConnectionCount: 1,
        //...other params...

Get/Set Value at Runtime

value = $au.uploader('uploaderID').uploadSettings().maxConnectionCount();

Property Value

Type: Number

The number of concurrent upload streams.

Default value is 1.


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.