Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

778 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