• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to login to a machine ?

 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
I have a set of images on a machine (windows machine) on my Intranet. Let me refer this machine as 'A'.
I have an application Hosted on Tomcat on another Machine (windows machine). Let me refer this machine as 'B'.
Now i have the Java code to retrieve the images from A to B. But as a pre-requisite i need to 'Login' to A before i run the java code. If i dont login, i get the below mentioned error:
java.io.FileNotFoundException: \\192.168.2.171\images\4d_H.gif (Logon failure: unknown user name or bad password).
Can I login using My java application rather than manually login ( I know the login credential to this machine). Is there any means to specify my Login credentials via my java application?
Please help me out.
Thanks,
Sajee Joseph
 
Paper beats rock. Scissors beats tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic