I want to access a shared folder of a different machine (Mapped to my
server) say E:\ (which is actually \\myothermac\c$ \somefolder") from C#.
If I use
string strFolder = "E:\myNewFolder ";
if (System.IO.Dire ctory.Exists(st rFolder))
{ ... }
it always says the directory doesn't exist. I thought it might be
something to do with security and I enabled everyone to have full access
on the other machine. But it didnt help.
I know ASPNET user will not know the share created by any other user on
the machine, but how do you suggest me do it?
I even tried this:
string strFolder = "\\\\MyOtherMac hine\\c$\\myNew Folder";
if (System.IO.Dire ctory.Exists(st rFolder))
{ ... }
Could you please help me in solving this issue?
Thanks in advance.
Sekhar.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
server) say E:\ (which is actually \\myothermac\c$ \somefolder") from C#.
If I use
string strFolder = "E:\myNewFolder ";
if (System.IO.Dire ctory.Exists(st rFolder))
{ ... }
it always says the directory doesn't exist. I thought it might be
something to do with security and I enabled everyone to have full access
on the other machine. But it didnt help.
I know ASPNET user will not know the share created by any other user on
the machine, but how do you suggest me do it?
I even tried this:
string strFolder = "\\\\MyOtherMac hine\\c$\\myNew Folder";
if (System.IO.Dire ctory.Exists(st rFolder))
{ ... }
Could you please help me in solving this issue?
Thanks in advance.
Sekhar.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment