code: public void rm(String path) throws SftpStatusException, SshException {
  		String actual = resolveRemotePath(path);
  
  		SftpFileAttributes attrs = sftp.getAttributes(actual);
  		if (attrs.isDirectory()) {
  			sftp.removeDirectory(actual);
  		} else {
  			sftp.removeFile(actual);
  		}
  	}
docs: <p>
  Remove a file or directory from the remote computer.
  </p>
  
  @param path
  the path of the remote file/directory
  
  @throws SftpStatusException
  @throws SshException