Verifies whether the specified special folder is available.
$au.uploader('uploaderID').folderPane().canGoToFolder(folder);
Type: String
A member of this enumeration that specifies a special folder to check:
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 can navigate it; otherwise, false
.
This method works only for special folders. You cannot verify physical path on the local machine with this method.
This method is helpful if you use custom buttons to navigate to the special folder (like My Pictures or My Documents). For example, you can check which of special folders are available and hide buttons for the folders which are not available.
To navigate to a certain special folder, use the goToFolder(String) method.