---
title: "files.remove(Number) Method  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_M_J_$au_files_remove_1_add419ba.htm
product: "Upload Suite 8"
---

# files.remove(Number) Method HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Removes the file at the specified index from the upload pane.

## Syntax
 
```
$au.imageUploaderFlash('uploaderID').files().remove(index);
```
 
### Parameters
 
 - index
     - Type: **Number**
 
Depending on the type of this argument, it may be:
 
- **if number** - a zero-based index of the file to remove (position in the upload list). Note, if you remove files in a cycle, the index may be shifted after you remove a file!
- **if string** - the file's guid (returned by [guid](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_guid.htm.md)).
- **if array** - an array of indexes or guids.

## See Also
 
### Reference
 
- [guid Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_guid.htm.md)
