---
title: "files.remove(Number) Method  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_M_J_$au_files_remove_1_add419ba.htm
product: "Upload Suite 8"
---

# files.remove(Number) Method ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Removes the file at the specified index from the upload pane.

## Syntax
 
```
$au.uploader('uploaderID').files().remove(index);
```
 
### Parameters
 
 - index
     - Type: **Number**
 
The zero-based index of the file to remove.

## Remarks
 
If you want to remove all files or all selected files from the upload pane use the [uploadPane.removeAllFiles()](https://www.aurigma.com/docs/us8/JA_M_J_$au_uploadPane_removeAllFiles.htm.md) or [uploadPane.removeSelectedFiles()](https://www.aurigma.com/docs/us8/JA_M_J_$au_uploadPane_removeSelectedFiles.htm.md) method respectively.
