code: public void delete() throws SftpStatusException, SshException {
  		if (sftp == null) {
  			throw new SshException("Instance not connected to SFTP subsystem",
  					SshException.BAD_API_USAGE);
  		}
  
  		if (isDirectory()) {
  			sftp.removeDirectory(getAbsolutePath());
  		} else {
  			sftp.removeFile(getAbsolutePath());
  		}
  	}
docs: Delete this file/directory from the remote server.
  
  @throws SshException
  @throws SftpStatusException