---
title: "UploadSettings.AutoRecoveryTimeout Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_AutoRecoveryTimeout.htm
product: "Upload Suite 8"
---

# UploadSettings.AutoRecoveryTimeout Property HTML5/Flash Uploader PHP

Supported technologies:
 
Gets or sets an interval in which HTML5/Flash Uploader should try to resume the upload if it was interrupted.

## Syntax
 
```
public function getAutoRecoveryTimeout() {
}

public function setAutoRecoveryTimeout($value) {
}
```
 
### Property Value
 
Type: **integer**
 
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](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_AutoRecoveryMaxAttemptCount.htm.md) 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](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_FilesPerPackage.htm.md) property would be `1`. Also, consider using the [ChunkSize](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_ChunkSize.htm.md) if large files are uploaded.

## See Also
 
### Reference
 
- [Aurigma.ImageUploaderFlash.UploadSettings.AutoRecoveryTimeout ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_AutoRecoveryTimeout.htm.md)
- [$au.uploadSettings.autoRecoveryTimeout JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadSettings_autoRecoveryTimeout.htm.md)

### Manual
 
- [Configuring Fail-safe Upload](https://www.aurigma.com/docs/us8/configuring-fail-safe-upload-uif.htm.md)
