Remove a file or directory from the remote computer.
107108109110111112113114115116117
// Change the local directory sftp.lcd("localdir"); // Download a file sftp.get("somefile.txt", "anotherfile.txt"); // Remove a directory or file sftp.rm("j2ssh"); // Quit sftp.quit(); ssh.disconnect(); } }