file.relativePath Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets the relative path of a file inside the upload.

Syntax

JavaScript Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').files().set(index).relativePath(value);
value = $au.imageUploaderFlash('uploaderID').files().get(index).relativePath();

Property Value

Type: String

The name of the folder structure (separated with slash character). Note, you should enable folder upload functionality to read a folder name from selected files.

Remarks

If you enable folder upload (using folderProcessingMode) and add folders, you will find a name of the folder (and subfolders). You can also modify this value if you want to alter the folder structure. Modifying tis property does not require using the folderProcessingMode.

See Also

Reference