b2b

how to transfer a file through SFTP in java? [duplicate]

这一生的挚爱 提交于 2019-11-27 05:14:36
问题 This question already has an answer here: How to retrieve a file from a server via SFTP? 16 answers How to transfer a file through SFTP in java? I want sample code for SFTP client. I want to embed the SFTP server in my application and the client should able to send a file to my application. PS: This was asked for SFTP client. And This question is not a duplicate of other two questions. Find the below link to implement SFTP. https://codetransient.wordpress.com/2019/06/22/sftp-secured-file