Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4339132
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:10:32+00:00 2026-05-21T11:10:32+00:00

VS 2008 How to fetch the Full File path for the File Uploaded in

  • 0

VS 2008

How to fetch the Full File path for the File Uploaded in asp.net ??

Either HTML or ASP.Net Server Control, i need to use File Upload – Browse feature and need to fetch the Complete file path.

My guess is Due to security reasons, ASP.Net does not support asp:FileUpload to deliver the Full File Path ..!

What would be the best way to get the file path ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T11:10:33+00:00Added an answer on May 21, 2026 at 11:10 am

    You can’t do what you want by design (at least on modern browsers). This would be a security issue if you could.

    You can read more about this here.

    Snipit:

    Historically, the HTML File Upload
    Control () has been
    the source of a significant number of
    information disclosure
    vulnerabilities. To resolve these
    issues, two changes were made to the
    behavior of the control.

    To block attacks that rely on
    “stealing” keystrokes to
    surreptitiously trick the user into
    typing a local file path into the
    control, the File Path edit box is now
    read-only. The user must explicitly
    select a file for upload using the
    File Browse dialog.

    IE8 read-only File Path box

    Additionally, the “Include local
    directory path when uploading files”
    URLAction has been set to “Disable”
    for the Internet Zone. This change
    prevents leakage of potentially
    sensitive local file-system
    information to the Internet. For
    instance, rather than submitting the
    full path
    C:\users\ericlaw\documents\secret\image.png,
    Internet Explorer 8 will now submit
    only the filename image.png.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using SQL Server 2008 in a asp.net/c# program. I am trying to
I am developing one web application using asp.net 2005 and Microsoft SQL Server 2008
I'm importing data in a SQL Server 2008 database from excel file where the
I need to fetch HTML from Turkish webpages using Java. However, I am finding
I am currently using Visual Studio 2008 (VB.Net) and SQL Server 2008. I have
(ASP.net 3.5, C#, SQL Express 2008) I want to have a Web Form, where
Here I am trying to fetch data from MS-SQL Server 2008 to my Rails
I am going lead a project, where I have Asp.Net webapp with SQL Server
I am new to SQL Server 2008, and I need some help in query
I've started building a ASP net MVC 2.0 web application using SQL Express 2008

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.