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

Obtain original file path of file selected for AsyncUpload

1 Answer 644 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Eli
Top achievements
Rank 1
Veteran
Eli asked on 09 Aug 2012, 03:41 PM
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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 10 Aug 2012, 04:07 AM
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.

Regards,
Princy.
Tags
AsyncUpload
Asked by
Eli
Top achievements
Rank 1
Veteran
Answers by
Princy
Top achievements
Rank 2
Share this question
or