Possible Duplicate:
Get full path of a file with FileUpload Control
I want to get the path of a file when we select the file in file upload control.
eg. if my file is placed at C:\Documents and Settings\example.txt
when I browse it by using file upload control then how I will get this C:\Documents and Settings\example.txt path.
You can’t, for security reason, you can get the fileName.
Use FileName property of the FileUploadControl
Read this blog: http://weblogs.asp.net/ashicmahtab/archive/2009/05/20/fileupload-control-doesn-t-give-full-path-help.aspx