Navigates to the specified folder. The parameter can contain either a path to the target folder (for example, C:/Images
) or a
member of enumeration which specifies a special folder (for example, My Documents, My Pictures, etc.).
$au.uploader('uploaderID').folderPane().goToFolder(folder);
Type: String
A path to the target folder or a member of the following enumeration which specifies a special folder to navigate to:
Value | Description |
---|---|
BitBucket | Recycle Bin |
Desktop | Desktop (for the user currently logged into the system) |
MyComputer | My Computer |
MyDocuments | My Documents (for the user currently logged into the system) |
MyMusic | My Music (for the user currently logged into the system) |
MyPictures | My Pictures (for the user currently logged into the system) |
MyVideo | My Video (for the user currently logged into the system) |
Network | My Network Places |
Type: Boolean
true
if the specified folder is available and ActiveX/Java Uploader successfully navigates to it; otherwise, false
.
When you call this method in non-Internet Explorer browser, take into account that only MyDocuments
folder will be available. In Internet Explorer all listed folders are available.
To check if a certain folder is available on the given computer, use the canGoToFolder(String) method.