This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.MaxConnectionCount Property

Supported in: ActiveX , Java

Number of simultaneous connections files are uploaded with.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("MaxConnectionCount", "1");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMaxConnectionCount(value);
value = getImageUploader("ImageUploaderID").getMaxConnectionCount();

Property Value

A positive number that specifies the maximum number of concurrent upload streams.

Default value is "1".

Remarks

The more connections you specify the faster the user complete the upload. However too large value may noticeable degrade the performance of your web server. For example, if you specify 10, Image Uploader will establish 10 HTTP connections (if the user upload more than 10 files of course). It is the same as if 10 different users started standard uploads. So be careful when configuring this value.

See Also

Manual

Reference