Accessing a Network Directory

G

G. Dean Blake

using the following code....
Dim rootdi As DirectoryInfo = New
DirectoryInfo(Session("ScannedInvoicesDirectory"))

this works fine if it is a drive local to the web server. But if I try to
access a directory on a mapped drive, it comes up not found. I tried using
a Universal Naming Convention path but that got an exception.

How can I access a directory on another server?
TIA
G
 
G

G. Dean Blake

OOPS, never mind. the UNC worked. I had just made a mistake when typing it
in. :)
G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top