---
title: "file Members  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_AllMembers_T_J_$au_file.htm
product: "Upload Suite 8"
---

# file Members HTML5/Flash Uploader JavaScript
 
The [file](https://www.aurigma.com/docs/us8/FH_T_J_$au_file.htm.md) type exposes the following members.

## Methods
 
|   | Name | Description |
| --- | --- | --- |
 |  ![Public method](https://www.aurigma.com/docs/us8/icons/pubmethod.gif) |  [calculateHash(Function)](https://www.aurigma.com/docs/us8/FH_M_J_$au_file_calculateHash_1_23cf0bd7.htm.md) |  Calculates MD5 hash for a file. |
 |  ![Public method](https://www.aurigma.com/docs/us8/icons/pubmethod.gif) |  [exif(Function)](https://www.aurigma.com/docs/us8/FH_M_J_$au_file_exif_1_23cf0bd7.htm.md) |  Gets a collection of EXIF fields of a file. |
 |  ![Public method](https://www.aurigma.com/docs/us8/icons/pubmethod.gif) |  [getPreview(Object)](https://www.aurigma.com/docs/us8/FH_M_J_$au_file_getPreview_1_8419e710.htm.md) |  Receives an `img` element of containing the preview of a file. |
 |  ![Public method](https://www.aurigma.com/docs/us8/icons/pubmethod.gif) |  [iptc(Function)](https://www.aurigma.com/docs/us8/FH_M_J_$au_file_iptc_1_23cf0bd7.htm.md) |  Gets a collection of EXIF fields of a file. |
 |  ![Public method](https://www.aurigma.com/docs/us8/icons/pubmethod.gif) |  [remove](https://www.aurigma.com/docs/us8/FH_M_J_$au_file_remove.htm.md) |  Removes the user-selected files from the upload pane. |
 |  ![Public method](https://www.aurigma.com/docs/us8/icons/pubmethod.gif) |  [showImageEditor(Number,Number)](https://www.aurigma.com/docs/us8/FH_M_J_$au_file_showImageEditor_2_3705d439.htm.md) |  Opens a file in the built-in image editor. |

## Properties
 
|   | Name | Description |
| --- | --- | --- |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [angle](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_angle.htm.md) |  Gets or sets a rotation angle of the user-selected file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [cropBounds](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_cropBounds.htm.md) |  Gets or sets crop bounds of the user-selected file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [description](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_description.htm.md) |  Gets or sets the description to the user-selected file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [file](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_file.htm.md) |  Gets or sets the JavaScript File object. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [guid](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_guid.htm.md) |  Gets a unique identifier of the user-selected file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [height](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_height.htm.md) |  Gets or sets the height of the user-selected file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [iconCssClass](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_iconCssClass.htm.md) |  Gets a string which is used to display an icon of this item. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [modified](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_modified.htm.md) |  Gets a last modified date of a file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [name](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_name.htm.md) |  Gets or sets the name of the user-selected file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [relativePath](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_relativePath.htm.md) |  Gets or sets the relative path of a file inside the upload. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [selected](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_selected.htm.md) |  Gets or sets a value indicating whether the user-selected file is highlighted. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [size](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_size.htm.md) |  Gets or sets the size of the user-selected file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [tag](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_tag.htm.md) |  Gets or sets a custom data of the user-selected file (AKA tag). |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [type](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_type.htm.md) |  Gets a mime type of a file. |
 |  ![Public property](https://www.aurigma.com/docs/us8/icons/pubproperty.gif) |  [width](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_width.htm.md) |  Gets or sets the width of the user-selected file. |
