---
title: "uploadPane.addFolders Method  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_M_J_$au_uploadPane_addFolders.htm
product: "Upload Suite 8"
---

# uploadPane.addFolders Method HTML5/Flash Uploader JavaScript

Supported technologies:
 
Opens a standard **Open Folder** dialog so that the user can select folders for the upload.

## Syntax
 
```
$au.imageUploaderFlash('uploaderID').uploadPane().addFolders();
```

## Remarks
 
To be able to use this method, you should turn on the folder uploading feature using the [folderProcessingMode](https://www.aurigma.com/docs/us8/FH_P_J_$au_imageUploaderFlash_folderProcessingMode.htm.md) property.
 
Note, the folder selection feature has several limitations:
 
- **Chrome only** - currently it works only in Chrome. For other browsers you may want to use the Java/ActiveX uploader. See the [Uploading Folders in HTML5 Uploader ASP.NET](https://www.aurigma.com/docs/us8/uploading-folders-in-aspnet-iuf.htm.md) for more details.
- **Call from button click handler only** - if you call this method from any other place in your JavaScript code, it will be ignored.

There is also an **addFolder** alias for this method. You can use both interchangeable.

## See Also
 
### Reference
 
- [folderProcessingMode Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_imageUploaderFlash_folderProcessingMode.htm.md)
- [addFiles() Method](https://www.aurigma.com/docs/us8/FH_M_J_$au_uploadPane_addFiles.htm.md)

### Manual
 
- [Uploading Folders in HTML5 Uploader ASP.NET](https://www.aurigma.com/docs/us8/uploading-folders-in-aspnet-iuf.htm.md)
