Number of simultaneous connections files are uploaded with.

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<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 CopyCode imageCopy Code
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

Examples
Concurrent Upload Sample

Reference
CurrentConnectionId Property
Progress Event
Send Method