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