Aurigma Image Uploader 4.6 Dual
ImageUploader.GoToFolder Method
See Also Supported in: ActiveX Java

Navigates to a given special folder, for example, My Documents, My Pictures, etc.

# Syntax

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").GoToFolder(Folder);

##### Parameters

Folder
  A path to the target folder or a member of the following enumeration which specifies a special folder to navigate to:

  String 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
  Recent | Recent Documents (for the user currently logged into the system)

# Returns

A boolean value (`true` or `false`) which specifies whether it succeeded (`true`) or not (`false`). The method will fail if you specify the given folder does not exist on the computer.

# Remarks

To check if a certain folder is available on the given computer, use the CanGoToFolder method.

# See Also

##### Examples

Open File Dialog Sample

##### Reference

CanGoToFolder Method
GoToParentFolder Method
GoToPreviousFolder Method