---
title: "file.relativePath Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_file_relativePath.htm
product: "Upload Suite 8"
---

# file.relativePath Property HTML5/Flash Uploader JavaScript

Supported technologies:
 
Gets or sets the relative path of a file inside the upload.

## Syntax
 
```
$au.imageUploaderFlash('uploaderID').files().set(index).relativePath(value);
value = $au.imageUploaderFlash('uploaderID').files().get(index).relativePath();
```
 
### Property Value
 
Type: **String**
 
The name of the folder structure (separated with slash character). Note, you should enable folder upload functionality to read a folder name from selected files.

## Remarks
 
If you enable folder upload (using [folderProcessingMode](https://www.aurigma.com/docs/us8/FH_P_J_$au_imageUploaderFlash_folderProcessingMode.htm.md)) and add folders, you will find a name of the folder (and subfolders). You can also modify this value if you want to alter the folder structure. Modifying tis property does not require using the **folderProcessingMode**.

## See Also
 
### Reference
 
- [folderProcessingMode Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_imageUploaderFlash_folderProcessingMode.htm.md)
