uploadSettings.autoRecoveryTimeout Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets an interval in which HTML5/Flash Uploader should try to resume the upload if it was interrupted.

Syntax

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

Property Value

Type: Number

The number of milliseconds the HTML5/Flash Uploader should wait between attempts.

Default value is 5000.

Remarks

This parameter takes effect if only the autoRecoveryMaxAttemptCount is greater than 1.

Note

HTML5/Flash 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 filesPerPackage property would be 1. Also, consider using the chunkSize if large files are uploaded.

See Also

Reference

Manual