Open an SFTP client for file transfer operations.
SftpClient sftp = ssh.openSftpClient(); sftp.cd("foo"); sftp.put("somefile.txt"); sftp.quit();
@return Returns an initialized SFTP client
@exception IOException If an IO error occurs during the operation
@see SftpClient
@since 0.2.0
| |