hi,
I wish to know the clear explanation about server.MapPath.can anyone explain me.
Thank you,
About server.mappath
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Jan 27, 2011, 6:46 AM EST
also
kishan gajjar40 reputationPosted Jan 27, 2011, 7:04 AM EST
When you host you website on server at that time you dont know the physical path of you hosting space..
So when you will try to upload any file to server ,you need to pass it full address..
at that time Server.MapPath will get the server's full physical path till your root director..
If you want more explanation then let me know..
Suthish NairRank #92 · 22.8K reputationPosted Jan 30, 2011, 8:24 AM EST
So other members can easily find the answers.