This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.UploadFileType Property

Supported in: ActiveX , Java

File type of the specified item of the upload list.

Syntax

Get/Set Value in Runtime

JavaScript
value = getImageUploader("ImageUploaderID").getUploadFileType(Index);

Parameters

Index

A positive integer which specifies an index of the upload list item (i.e. the upload file). An index is 1-based. In other words valid value is in range [1, UploadFileCount].

Property Value

A string value that returns a file type of the specified upload list item.

Note

Do not confuse this property with UploadFileFormat. The file type returned by this property is retrieved from system (determined via the file extension). This is the same string which is displayed in the Type column of the Details view. In the same time, file format is determined with Image Uploader by analyzing file content (rather than the file extension).

See Also

Reference