*/
public Protocol getAppropriateProtocol(ProtocolFile pFile,
boolean allowReuse, boolean navigateToPathLoc)
throws RemoteConnectionException {
try {
Protocol protocol = getAppropriateProtocol(pFile, allowReuse);
if (protocol != null && navigateToPathLoc) {
if (pFile.isDirectory())
this.cd(protocol, pFile);
else
this.cd(protocol, pFile.getParentFile());