File-type filtering
The following properties are used together. The properties "FileDescription" and "FileExtension" indicate if you want to filter by a especific file type, for example, Excel document, images, etc.
In this example the property "FileDescription" has the "Images" value and the property "FileExtension" has "*.jpg" (it also supports a collection of types, example: *.jpg;*.png;*.jpeg;*.gif;*.bmp). From version 3.5.0 we added the variable & fileExtensionList, associated to the FileExtension property:
Event Start
FileExtensionList.Add("*.jpg")
FileExtensionList.Add("*.png")
FileExtensionList.Add("*.jpeg")
FileExtensionList.Add("*.gif")
FileExtensionList.Add("*.bmp")
EndEvent
- FileExtension
A list of file extensions that are allowed for upload.
- FileDescription (Only Flash version)
The text that will appear in the file type drop down at the bottom of the browse dialog box.