Solved

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

Posted on 2014-03-05
1
530 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 75

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

13 Experts available now in Live!

Get 1:1 Help Now