Accessing file residing on other machine

  • Thread starter Thread starter Vinayak
  • Start date Start date
V

Vinayak

Hi
How to access the file residing on remote machine.
Where to specify the userid & password for the remote
machine before oopening the file. Can anybody help me with
some piece of code?

Thanks in advance
Vinayak
 
You will need a user that has access to the UNC path or share. This can be
the user of the application (for web apps, anonymous will not work) or a
user you specify, by assigning a user to a thread.

For ASP.NET, try this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;306158

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

****************************************************************************
****
Think Outside the Box!
****************************************************************************
****
 
Back
Top