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

JavaScript
$au.imageUploaderFlash('uploaderID').uploadPane().addFolders();

Remarks

To be able to use this method, you should turn on the folder uploading feature using the folderProcessingMode 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 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

Manual