Hi,
I am writing a simple
Java Swing application that aims to connect to a Unix server from my windows machine.
When I connect using PUTTY or telnet, I am prompted for a login and then the password.
How can I achieve this from within my Java Swing program, so that I can see the directory listing, download files and upload files from the server.
From the client application I am creating the new Socket(hostname,port) with port = 23. But then how should I pass the login and password so that I can enter the unix server.
I would appreciate any help in this regard.
Thanks in advance!