How to return the full file path in a C# / ASP.NET web application?

Posted by salvationishere on Stack Overflow See other posts from Stack Overflow or by salvationishere
Published on 2010-04-12T11:54:07Z Indexed on 2010/04/12 12:03 UTC
Read the original article Hit count: 221

Filed under:
|
|

This should be really simple, but I have tried many solutions posted on the internet so I thought I'd give this a try here. I have a VS 2008 web application that I need to capture the full file path (directories and file name) from the selected file. So user selects a file and then clicks on one of the buttons which transfers control to my code for processing. So how do I get the file path? I can get the file name, but not the path. Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET