Solved

I am Trying to Retrieve Full Path of File on Chrome Browser Using FileUpload?

Posted on 2014-03-05
1
524 Views
Last Modified: 2014-03-06
I am using file upload:
' Retrieving the file name and path from the file dialogue selection
        Dim file As String = BulkDataFileUpload.PostedFile.FileName ' IE Browser Only

I am using the ASP.NET <asp:FileUpload ID="BulkDataFileUpload" CssClass="BulkDataFileUpload" runat="server" Width="250px" /> tag

I am getting back the filename only.  I need the full file path.

Thanks,

Dan
0
Comment
Question by:danielolorenz
1 Comment
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39907615
Passing the full path of a file is discouraged in web environments as a security precaution. Only non-standard browsers typically do this...generally only IE does this.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now