| Author |
java api that will be use for transfering large file around 10MB to and from SFTP server.
|
Sunil Baboo
Greenhorn
Joined: Aug 12, 2010
Posts: 15
|
|
Hi,
Can anyone suggest java API that will be used for establishing communication between local machine and different SFTP server (both window and linux).
Thanks in Advanced.
|
 |
Madhan Sundararajan Devaki
Ranch Hand
Joined: Mar 18, 2011
Posts: 312
|
|
|
I believe, the standard JDK does not have an API satisfying your need directly. However, using java.io.*, java.net and java.nio.* packages you may attempt to write a custom client. Also you may search the Internet for ready-made Java library.
|
S.D. MADHAN
Not many get the right opportunity !
|
 |
john price
Ranch Hand
Joined: Feb 24, 2011
Posts: 495
|
|
I've done Java TCP networking before between different environments (OS's). Worked just fine. I recommend just sending the data through a socket...Don't know much about SFTP, so can't help you there...You could try UDP, maybe? Never used UDP either so, no clue.
cc11rocks
|
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
You'll need a third party library for the SFTP connection. You should find something using Google.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Edo Dovrat
Greenhorn
Joined: Jun 02, 2008
Posts: 3
|
|
I really liked https://github.com/shikhar/sshj
it's easy to use, clear api to upload/download using sftp, run ssh commands etc.
Edo
|
 |
 |
|
|
subject: java api that will be use for transfering large file around 10MB to and from SFTP server.
|
|
|