How to retrieve a file from a server via SFTP? May 24, 2022 by IT Nursery I’m trying to retrieve a file from a server using SFTP (as opposed to FTPS) using Java. How can I do this? 16 Answers 16