How to connect to sftp server and read the contents of the file using java?I have tried wring the code but I was not able to get the output,I did research a lot of things as to how to connect to sftp server by giving username,host and password.but didnt help
Asked
Active
Viewed 128 times
0
-
31) write code 2) execute code 3) debug code. we'll maybe help with #3. #1-2 are your responsibility. – Marc B Jul 07 '16 at 17:01
-
1It seems that there is a similar question about that. Check it [here](http://stackoverflow.com/questions/14617/java-what-is-the-best-way-to-sftp-a-file-from-a-server) – Nikolao Jul 07 '16 at 17:02
-
Oh god @PrashanthEdige wrong place – Shank Jul 07 '16 at 17:03
-
1A very detailed description in this posting [http://stackoverflow.com/questions/14617/java-what-is-the-best-way-to-sftp-a-file-from-a-server](http://stackoverflow.com/questions/14617/java-what-is-the-best-way-to-sftp-a-file-from-a-server) – Alexander Petrov Jul 07 '16 at 17:04
-
Thanks@AlexanderPetrov – Prashanth Edige Jul 07 '16 at 17:05