Accessing a Network Directory

  • Thread starter Thread starter G. Dean Blake
  • Start date Start date
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
 
Back
Top