File Properties

Thread is closed for posting
2 posts, 0 answers
  1. Mark Davison
    Mark Davison avatar
    82 posts
    Member since:
    Jul 2005

    Posted 08 Jan 2008 Link to this post

    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
  2. George
    Admin
    George avatar
    298 posts

    Posted 09 Jan 2008 Link to this post

    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
Back to Top