The best way to archieve this? Help please

  • Thread starter Thread starter dbui
  • Start date Start date
D

dbui

I have an ASP.NET application running on one win2k server and it needs to
access a shared folder in other server. To access this shared folder, I have
to login with user name and password.

I used IWshRuntimeLibrary.WshNetwork() and mapped the folder to a network
drive (Y:\) in the page_load. Then I disconnected this drive in the
page_unload. I got it works but not stable. Sometimes it fails to disconnect
and to map.

thanks
 

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

Back
Top