London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
UnifiedFile file = HostingEnvironment.VirtualPathProvider.GetFile(path) as UnifiedFile; Response.Write(file.LocalPath);
Hi!
How can I get the physical path of pagefiles that are located outside the sites directory? I've been looking at the thread http://world.episerver.com/Forum/Pages/thread.aspx?id=12835 but the UnifiedFileSystem no longer exists in cms 5, and I can't find the appropriate way to do it in this version. Using the MapPath methods just adds the file's virtual path to the site's physical path, and that's not where the file is...