HTML DOM Input FileUpload files Property

Input FileUpload Object : Select one or more files with the file upload button, and display some information about the selected file(s)

Definition and Usage

The files property returns a FileList object, representing the file or files selected with the file upload button.

Through the FileList object, you can get the the name, size and the contents of the files

This property is read-only.

Browser Support

Property
files Yes 10.0 Yes Yes Yes

Syntax

fileuploadObject.files

Technical Details

Return Value: A FileList object that represents the selected file or files

❮ Input FileUpload Object