Number of tries that should be performed to submit files.

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("AutoRecoverMaxTriesCount", "1");
//...other params...
iu.writeHtml();
</script>
Get/Set Value in Runtime
JavaScript CopyCode imageCopy Code
getImageUploader("ImageUploaderID").setAutoRecoverMaxTriesCount(value);
value = getImageUploader("ImageUploaderID").getAutoRecoverMaxTriesCount();
Property Value

A non-negative integer value which specify how many attempts for upload to do (including the very first attempt). If you want to disable automatic resuming feature, set this property to 1.

Default value is "1".

Remarks

Time interval between each next retry is configured with the AutoRecoverTimeOut property.

NoteNote

Image Uploader tries to resend the 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

Examples
Configuring Automatic Upload Recovery

Reference
AutoRecoverTimeOut Property
FilesPerOnePackageCount Property
ProgressDialogWaitingForRetryText Property
Send Method
UncheckUploadedFiles Property