---
title: "file.format Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_file_format.htm
product: "Upload Suite 8"
---

# file.format Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)
 
Gets a file format of the user-selected file.

## Syntax
 
```
value = $au.uploader('uploaderID').files().get(index).format();
```
 
### Property Value
 
Type: **String**
 
The format of this file. The following values are supported:
 
|  |
| --- |
| **Unknown** | Unknown file format. |
| **JPEG** | JPEG file format. |
| **BMP** | BMP file format. |
| **PNG** | PNG file format. |
| **PCX** | PCX file format. |
| **WBMP** | WBMP file format. |
| **GIF** | GIF file format. |
| **PSD** | PSD file format. |

## Remarks
 
**Note** 
Do not confuse this property with [type](https://www.aurigma.com/docs/us8/JA_P_J_$au_file_type.htm.md). File format returned through this property is determined with ActiveX Uploader by analyzing file content (rather than the file extension). In the same time the file type is retrieved from system (determined via the file extension).
