This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Using JSch to connect to the remote server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply locked New topic
Author

Using JSch to connect to the remote server

Shikha Upadhyaya
Ranch Hand

Joined: Aug 17, 2011
Posts: 70

Hi,
I tried this code to retrieve files from a remote system. It is working fine. But what I need is- a form with fields to enter username and password with two buttons Connect and Cancel. What exactly should I write in the mouseClicked event of Connect?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19230

Actually, this thread shouldn't even have moved. It should have been closed. It's the same problem as here.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using JSch to connect to the remote server
 
Similar Threads
Retrieval of values from a file in a remote server using JSch library
Error : java.net.ConnectException: Connection refused
Moving files from server A to server B using JSch
List Files of Remote Directory
Connecting two linux machines using smb