---
title: "UploadRequest..::.TempDirectory Property ActiveX/Java Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_UploadRequest_TempDirectory.htm
product: "Upload Suite 8"
---

# UploadRequest.TempDirectory Property ActiveX/Java Uploader ASP.NET
 
Gets or sets a path to the folder where [UploadRequest](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_UploadRequest.htm.md) saves the upload session cache.
 
**Namespace:** [Aurigma.ImageUploader](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
 **Assembly:** Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
 
## Syntax
  
```csharp
public string TempDirectory { get; set; }
```
 
### Property Value
 
Type: [System..String](http://msdn2.microsoft.com/en-us/library/s1wwdcbf)
 
The path to the folder where [UploadRequest](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_UploadRequest.htm.md) saves the upload session cache.
 
Default value is **"~/App\_Data/UploadCache/"**.
 
## Remarks
  
By the moment when the [FileUploaded](https://www.aurigma.com/docs/us8/JA_E_Aurigma_ImageUploader_UploadRequest_FileUploaded.htm.md) or [AllFilesUploaded](https://www.aurigma.com/docs/us8/JA_E_Aurigma_ImageUploader_UploadRequest_AllFilesUploaded.htm.md) event is fired, the [UploadRequest](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_UploadRequest.htm.md) has already completed parsing of HTTP POST request(s) and saved files to a temporary folder specified by this property. Then, when you call the [ConvertedFile.SaveAs(String)](https://www.aurigma.com/docs/us8/JA_M_Aurigma_ImageUploader_ConvertedFile_SaveAs_1_bb3a7a4f.htm.md) or [ConvertedFile.MoveTo(String)](https://www.aurigma.com/docs/us8/JA_M_Aurigma_ImageUploader_ConvertedFile_MoveTo_1_bb3a7a4f.htm.md) method, files from this temporary folder are copied or moved to the specified path. Thus, it is recommended to select temporary folder on the same disk where your file storage is located.
 
This recommendation is also appropriate for autosave functionality.
   
## See Also

### Reference

- [UploadRequest Class](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_UploadRequest.htm.md)
- [Aurigma.ImageUploader Namespace](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
