Get the file path of upload file control in asp.net
Please answer if you know. I choose a picture from a file. And want to get the file path. Not under the project file path. I want to get the file path that I selected. Server.MapPath(fileuploadname) get the path of the project file path. I need the file path that selected. Thank a lot.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 12, 2013, 12:27 AM EST
midhun b20 reputationPosted Nov 14, 2013, 12:37 AM EST
FileUp.postedFile property will give you filename of file upload control
FileUp.postedFile.filename will give you only file name
provided if your page is handling synchronousor asynchronous post back