## Aurigma Image Uploader 7.0.11

# uploadSettings.autoRecoveryMaxAttemptCount Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

Gets or sets a number of tries that should be performed to submit files.

## Syntax

### JavaScript

### Initialize

    $au.uploader({
        uploadSettings: {
            //...other params...
            autoRecoveryMaxAttemptCount: 1,
            //...other params...
        }
    })

### Get/Set Value at Runtime

    $au.uploader('uploaderID').uploadSettings().autoRecoveryMaxAttemptCount(value);
    value = $au.uploader('uploaderID').uploadSettings().autoRecoveryMaxAttemptCount();

### Property Value

Type: Number

The number of 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

Note

Image Uploader Express does not support automatic upload recovery. See the Comparison of Image Uploader Editions topic for details.

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

Note

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 filesPerPackage property would be 1.

## See Also

### Reference

- Aurigma.ImageUploader.UploadSettings.AutoRecoveryMaxAttemptCount ASP.NET Property
- UploadSettings.AutoRecoveryMaxAttemptCount PHP Property

### Manual

- Configuring Fail-Safe Upload