Solved

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

Posted on 2014-03-05
1
559 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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