uploadSettings.autoRecoveryMaxAttemptCount Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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


JavaScript Initialize
    uploadSettings: {
        //...other params...
        autoRecoveryMaxAttemptCount: 1,
        //...other params...
Get/Set Value at Runtime
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.



ActiveX/Java Uploader Express does not support automatic upload recovery. See the Upload Suite Editions topic for details.

ActiveX/Java Uploader will try to recover upload in the following situations only:

  • HTTP timeout specified with the connectionTimeout property is expired.
  • 403 Forbidden HTTP response code is received.
  • 408 Request Timeout HTTP response code is received.
  • 503 Service Unavailable HTTP response code is received.
  • 504 Gateway Timeout HTTP response code is received.

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


ActiveX/Java 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