code: public void lcd(String path) throws SftpStatusException {
  		File actual;
  
  		if (!isLocalAbsolutePath(path)) {
  			actual = new File(lcwd, path);
  		} else {
  			actual = new File(path);
  		}
  
  		if (!actual.isDirectory()) {
  			throw new SftpStatusException(SftpStatusException.SSH_FX_FAILURE,
  					path + " is not a directory");
  		}
  
  		try {
  			lcwd = actual.getCanonicalPath();
  		} catch (IOException ex) {
  			throw new SftpStatusException(SftpStatusException.SSH_FX_FAILURE,
  					"Failed to canonicalize path " + path);
  		}
  	}
docs: <p>
  Changes the local working directory.
  </p>
  
  @param path
  the path to the new working directory
  
  @throws SftpStatusException