Remote Folder

  • Thread starter Thread starter Daniel E. Ulfe
  • Start date Start date
D

Daniel E. Ulfe

Hi,

I have a small problem... I have an application that copy files from one
computer to another (very simple), but... when I try to check a folder in
the remote computer using:

System.IO.Directory.Exists("\\remote\drive\folder\")

If the local computer tried to get to this folder using Windows Explorer
before to run my program, it works (return TRUE), if not, that fails (return
FALSE)

Any idea why?... Any workaround or solution?

Thank you,
Daniel.
 
Hi

Have you try to map a network drive? I always use mapped network drive and I don't have any problem of this kind

Hope this will help.
 
Hi,

If a map it to a network drive... It works... But I really do not want to do
that... For only simple reason... If the user delete that drive my program
is not going to work... And you know how are the users...

Thank you for the recommendation...
Daniel.

Eric said:
Hi,

Have you try to map a network drive? I always use mapped network drive and
I don't have any problem of this kind.
 
Back
Top