---
title: "UploadedFile..::.RelativePath Property HTML5/Flash Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadedFile_RelativePath.htm
product: "Upload Suite 8"
---

# UploadedFile.RelativePath Property HTML5/Flash Uploader ASP.NET
 
Gets a relative path of this file when it is uploaded as a part of a folder.
 
**Namespace:** [Aurigma.ImageUploaderFlash](https://www.aurigma.com/docs/us8/FH_N_Aurigma_ImageUploaderFlash.htm.md)
 **Assembly:** Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)
 
## Syntax
  
```csharp
public abstract string RelativePath { get; }
```
 
### Property Value
 
Type: [System..String](http://msdn2.microsoft.com/en-us/library/s1wwdcbf)
 
The relative path to this user-selected file.
 
## Remarks
  
This property works only if the folder upload feature is turned on ([ImageUploaderFlash.FolderProcessingMode](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_ImageUploaderFlash_FolderProcessingMode.htm.md) is not `None` or `Skip`). In that case this property contains a path to this file relatively to the parent of the selected folder (i.e. includes the name of the folder). If the user uploads individual files, this property is an empty string. This way you can use it to restore the folder structure on the server.
 
Note, unlike the **SourceName\_*i*** POST variable which contains both the relative path and the filename, the [SourceName](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadedFile_SourceName.htm.md) property always contains only a filename. For example, if the user sends `My Documents` with a single subfolder `My Photos` which holds a file named `00001.jpg`, the **SourceName\_*i*** POST field will contain `My Documents\My Photos\00001.jpg` value, while the RelativePath property will contain `My Documents\My Photos\` value and the [SourceName](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadedFile_SourceName.htm.md) - `00001.jpg`.
   
## See Also

### Reference

- [UploadedFile Class](https://www.aurigma.com/docs/us8/FH_T_Aurigma_ImageUploaderFlash_UploadedFile.htm.md)
- [Aurigma.ImageUploaderFlash Namespace](https://www.aurigma.com/docs/us8/FH_N_Aurigma_ImageUploaderFlash.htm.md)
- [UploadedFile.RelativePath PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_UploadedFile_RelativePath.htm.md)

### Manual

- [Uploading Folders in HTML5 Uploader ASP.NET](https://www.aurigma.com/docs/us8/uploading-folders-in-aspnet-iuf.htm.md)
