---
title: "UploadSettings.AutoRecoveryFilter Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_AutoRecoveryFilter.htm
product: "Upload Suite 8"
---

# UploadSettings.AutoRecoveryFilter Property HTML5/Flash Uploader PHP

Supported technologies:
 
Gets or sets a filter for the broken upload auto resume feature.

## Syntax
 
```
public function getAutoRecoveryFilter() {
}

public function setAutoRecoveryFilter($value) {
}
```
 
### Property Value
 
Type: **string**
 
A JSON object containing two arrays - `errorCodes` (Aurigma error codes) and `httpCodes`. Values listed there will trigger the auto resume feature. Example of the JSON: `{errorCodes: [0, 4], httpCodes: [404]}.`.
 
Default value is **"{ 'errorCodes' : [4,0] }"**.

## Remarks
 
By default, it restores the upload only if the connection is lost or if server returns 5xx HTTP errors (like "bad gateway", etc). You can use this property if you want to extend this list, e.g. if your server always returns 404 error for any kind of errors.

## See Also
 
### Reference
 
- [AutoRecoveryMaxAttemptCount Property](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_AutoRecoveryMaxAttemptCount.htm.md)
- [AutoRecoveryTimeout Property](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_AutoRecoveryTimeout.htm.md)
- [Aurigma.ImageUploaderFlash.UploadSettings.AutoRecoveryFilter ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_AutoRecoveryFilter.htm.md)
- [$au.uploadSettings.autoRecoveryFilter JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadSettings_autoRecoveryFilter.htm.md)
