## Aurigma Image Uploader Flash 7.2.2

# UploadRequest..::.TempDirectory Property

- Collapse All Sections
- UploadRequest Class
- See Also
- Language Filter ( all languages )

Gets or sets a path to the folder where UploadRequest saves the upload session cache.

Namespace: Aurigma.ImageUploaderFlash
Assembly: Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)

## Syntax

### Visual Basic

    Public Property TempDirectory As String

### C#

    public string TempDirectory { get; set; }

### Property Value

Type: System..::.String

The path to the folder where UploadRequest saves the upload session cache.

Default value is "~/App_Data/UploadCache/".

## Remarks

By the moment when the FileUploaded or AllFilesUploaded event is fired, the UploadRequest 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) or ConvertedFile.MoveTo(String) 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
- Aurigma.ImageUploaderFlash Namespace