/** * Execute a change directory on the server to directory passed in * * @param path Path to change directory to * @throws ResourceException - */ protected void changeDirectory(String path) throws ResourceException { if(logger.isDebugEnabled()) { logger.debug("cd to dir [" + path + "]"); //$NON-NLS-1$ //$NON-NLS-2$ } try { getClient().cd(path); } catch (ClientCommandCdException e) { logger.warn("Underlying File Transfer operation failed [CD]!", e); //$NON-NLS-1$ throw new ResourceException(e); } }