code: public void cdup() throws SftpStatusException, SshException {
  
  		SftpFile cd = sftp.getFile(cwd);
  
  		SftpFile parent = cd.getParent();
  
  		if (parent != null)
  			cwd = parent.getAbsolutePath();
  
  	}
docs: Change the working directory to the parent directory
  
  @throws SftpStatusException
  @throws SshException