Hi Everyone,
The problem that I am having is on when I compile and run locally it works fine (i.e this "file.FileName" give me the file with the file name with path) but when I run the same code with the local IIS it doesnt work (i.e this "file.FileName" only give me the file name). can anyone please tell me whats going on.
foreach (string inputTagName in Request.Files)
{
HttpPostedFileBase file = Request.Files[inputTagName];
//File file;
if (file.ContentLength > 0)
{
string FilePath = file.FileName;
..........
}
........
}