---
title: "uploadPane.addFiles Method  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_M_J_$au_uploadPane_addFiles.htm
product: "Upload Suite 8"
---

# uploadPane.addFiles Method HTML5/Flash Uploader JavaScript

Supported technologies:
 
Opens a standard **Open File** dialog so that the user could select files for upload.

## Syntax
 
```
$au.imageUploaderFlash('uploaderID').uploadPane().addFiles();
```

## Remarks
 
This dialog supports multiple selection and all restrictions configured in the uploader are supported. In other words, it works in the same way as if the user clicks the **Add Files** button.
 
Note, due to the restrictions of HTML5, it may open a dialog only from a button click handler. If you call this method from any other place in your JavaScript code, it will be ignored.

## See Also
 
### Reference
 
- [addFolders() Method](https://www.aurigma.com/docs/us8/FH_M_J_$au_uploadPane_addFolders.htm.md)
