Pre Exam Test Practice
Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
server mappath physical path given virtual path expected
server mappath physical path given virtual path expected ¬†using -'c#,asp.net'
I'm using this line of code:
var files = Directory.GetFiles(Server.MapPath("E:\\ftproot\\sales"));
to locate files in a folder however I get the error message saying that
¬†¬†"Physical Path given but virtual path
Am new enough to using System.IO in C# so I was wondering if it's possible to enter a physical path to do this?
Sep 14, 2015
to add a comment.
Related Hot Questions
Government Jobs Opening