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
Francis SusaimichaelPosted May 31, 2016, 9:37 AM
Vincent Maverick DuranoPosted May 31, 2016, 8:24 AM
Saineshwar BageriPosted May 29, 2016, 8:39 AM