Obtain original file path of file selected for AsyncUpload

2 posts, 1 answers
  1. Eli
    Eli avatar
    22 posts
    Member since:
    Mar 2011

    Posted 09 Aug 2012 Link to this post

    Is there any way to get the original file path of a file that was selected for async upload?  This is for an internal application where our users can upload files to the sytem.  Basically I want to be able to grab the original file location from a user's machine to store as a field in the database.  Thanks.
  2. Answer
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Aug 2012 Link to this post

    Hi Eli,

    The path you retrieve is based on the browser that you are using. In IE6 and some older browsers FileName property of UploadedFile returns full path and some browsers retrieve the FileName only due to security reasons.

    Please take a look into the following threads for more information.
    Get full path from uplad control
    How to get full path using RadAsyncUpload control

    Hope this helps.

Back to Top