I am trying to get a file using a Java Rest API from a SFTP Server.
Here I use JSCH to connect to SFTP Server.
But the returning file is corrupted. Here is my