Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

uploadSettings.maxConnectionCount Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets the number of simultaneous HTTP connections the uploader can establish.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    uploadSettings: {
        //...other params...
        maxConnectionCount: 1,
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').uploadSettings().maxConnectionCount(value);
value = $au.imageUploaderFlash('uploaderID').uploadSettings().maxConnectionCount();

Property Value

Type: Number

The number of HTTP connections used by the uploader to send files in parallel.

Default value is 1.

Remarks

It is not recommended to set too many simultaneous connections (say, more than 5) as it will increase the server burden. Also, some browsers may throttle down this value.

See Also

Reference