I have a web application in which i am saving files into the directory placed onto the root folder of my application , it works fine locally but when i hosting the application into the hosting environment it is not saving my file , locally i have save a filePath into the web.config like that
and i was accessing it using that statement
Dim FilePath As String = ConfigurationManager.AppSettings("FilePath").ToString
How to achieve that on hosting server i have already tried
HttpContext.Current.Server.MapPath("~/Uploads/")
as well as
Server.MapPath("~/Uploads/") but it shows the local path address of my directory hierarchy .
Thanks in advance

Saineshwar BageriRank #115 · 19.6K reputationPosted May 29, 2016, 4:39 AM EDT
Vincent Maverick DuranoRank #238 · 10.3K reputationPosted May 31, 2016, 4:24 AM EDT
Francis SusaimichaelRank #466 · 5.4K reputationPosted May 31, 2016, 5:37 AM EDT