Access To Servers
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, December 16, 2002 03:27 AM

Hi,


I would like to access a network drive on another server from my Java Application. The user that is running the Java application does not have access to this drive (with his username and password). Is it possible to program the login-process to this drive? I would like to store the username and password in a configuration-file and do the login-procedure in my code. Now, when trying to access the drive, I receive an error: "Logon failure: unknown user name or bad password". I'm working with a Windows NT network.


Thanks,


Joeri

Re: Access To Servers

Posted By:   Christopher_Koenigsberg  
Posted On:   Tuesday, December 17, 2002 07:19 AM

Runtime exec "net use".

About | Sitemap | Contact