This is a migrated thread and some comments may be shown as answers.

File Properties

1 Answer 83 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Mark Davison
Top achievements
Rank 1
Mark Davison asked on 08 Jan 2008, 09:51 AM
Hi,

Is there a way I can get the file properties before the upload actually takes place? I would like to access the file size and last modified date.

Regards,

Mark

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 09 Jan 2008, 11:55 AM
Hi Mark Davison,

The standard <input type=file> html elements we use in RadUpload do not allow access to the properties of the selected files for uploading. Moreover, the browsers restrict the javascript engine from file system access which prevents us from getting the properties of the selected files.

RadProgressArea displays some properties like file size because it starts monitoring the upload progress after it has begun. That's why it "knows" the size of each file, selected for uploading.


Sincerely yours,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
Mark Davison
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or