How to acces File over the Network

Posted by Polo on Stack Overflow See other posts from Stack Overflow or by Polo
Published on 2010-03-22T10:25:53Z Indexed on 2010/03/22 11:11 UTC
Read the original article Hit count: 306

Filed under:
|
|

Hi!

I am having a hard time on this one, I have à folder over the network wit public accès (no credential restriction). I am trying to do à File.Exist or Directory.Exist and I keep on having a exception.

Can somewone tell me the good way to do IO over the network.

EDIT 1 FOR DETAILS:

if i do execture => \agoodip\Public\test.txt I get the file etc etc

In my code it look like a basic Directory.Exist(@"\agoodip\Public") or File.exist(@"\agoodip\Public\test.txt")

The exception I get is Path not found.

Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET