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

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic

Public Property AutoRecoveryMaxAttemptCount As Integer

C#

public int AutoRecoveryMaxAttemptCount { get; set; }

Property Value

Type: System..::.Int32

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.

Image Uploader will try to recover upload in the following situations only:

  • Image Uploader is unable to access to server upload script by URL specified in the ActionUrl property.
  • 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.

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.