---
title: "uploadSettings.urlEncodeFilenames Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadSettings_urlEncodeFilenames.htm
product: "Upload Suite 8"
---

# uploadSettings.urlEncodeFilenames Property HTML5/Flash Uploader JavaScript

Supported technologies:
 
Specifies whether to apply URL encoding to filenames uploaded by the uploader.

## Syntax
 
```
$au.imageUploaderFlash({
    uploadSettings: {
        //...other params...
        urlEncodeFilenames: false,
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').uploadSettings().urlEncodeFilenames(value);
value = $au.imageUploaderFlash('uploaderID').uploadSettings().urlEncodeFilenames();
```
 
### Property Value
 
Type: **Boolean**
 
If `true`, the uploader will URL-encode filenames in the POST request (including `SourceName_N` variable). After you decode them, you will get a correct UTF-8 string.
 
Default value is **false**.

## Remarks
 
This property may be helpful if your server incorrectly accepts files with non-ASCII names. In this case, just set it to `true` and use URL decoding when reading those file names from the request.
 
When this property is `true`, the uploader sends the **FilenamesUrlEncoded** POST field set to `true`. This way you can add the code to your server side script which determines if the filenames require pre-processing (URL decoding).

## See Also
 
### Reference
 
- [Aurigma.ImageUploaderFlash.UploadSettings.UrlEncodeFilenames ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadSettings_UrlEncodeFilenames.htm.md)
- [UploadSettings.UrlEncodeFilenames PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_UploadSettings_UrlEncodeFilenames.htm.md)
