Shift logic of navigating first to parent directory before executing custom commands, down to FTP protocol