wood burning stoves 2.0*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply locked New topic

Using JSch to connect to the remote server

Shikha Upadhyaya
Ranch Hand

Joined: Aug 17, 2011
Posts: 70

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

Joined: Oct 27, 2005
Posts: 19552

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

How To Ask Questions How To Answer Questions
I agree. Here's the link: http://aspose.com/file-tools
subject: Using JSch to connect to the remote server
Similar Threads
Retrieval of values from a file in a remote server using JSch library
Connecting two linux machines using smb
List Files of Remote Directory
Moving files from server A to server B using JSch
Error : java.net.ConnectException: Connection refused