P
Phil Barber
using ASP.NET 1.1
int PID=(int)Session["PID"];
string FilePath=PF.GetProjectPath(PID);
if(!Directory.Exists(FilePath))
Directory.CreateDirectory(FilePath);
the Directory.Exists always returns false even though the Directory does in
fact exist.
note the FilePath string is a UNC path ( @"\\ServerName\..\)
any ideas would be welcome.
the really strange thing is if the directory really does not exist this code
will sucessfully create the directory, so I do not beleive it is a security
issue
Thanks
phil
int PID=(int)Session["PID"];
string FilePath=PF.GetProjectPath(PID);
if(!Directory.Exists(FilePath))
Directory.CreateDirectory(FilePath);
the Directory.Exists always returns false even though the Directory does in
fact exist.
note the FilePath string is a UNC path ( @"\\ServerName\..\)
any ideas would be welcome.
the really strange thing is if the directory really does not exist this code
will sucessfully create the directory, so I do not beleive it is a security
issue
Thanks
phil