Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.AutoRecoverTimeOut Property

Supported in: ActiveX , Java

Interval in which Image Uploader should try to resume the upload if it was interrupted.

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("AutoRecoverTimeOut", "5000");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setAutoRecoverTimeOut(value);
value = getImageUploader("ImageUploaderID").getAutoRecoverTimeOut();

Property Value

A non-negative integer value that specifies the number of milliseconds the Image Uploader should wait between attempts.

Default value is "5000".

Remarks

Note

Image Uploader tries to resend the very request that has failed. If the request (package) contains more than one file, these files will be resent again. It means that if you use the auto-recovering feature, the optimal value for the FilesPerOnePackageCount property would be 1.

See Also

Manual

Reference