*/
public Protocol getAppropriateProtocol(RemoteSiteFile pFile,
boolean allowReuse, boolean navigateToPathLoc)
throws RemoteConnectionException {
try {
Protocol protocol = getAppropriateProtocol(pFile, allowReuse);
if (protocol != null && navigateToPathLoc) {
if (pFile.isDir())
this.cd(protocol, pFile);
else
this.cd(protocol, new RemoteSiteFile(pFile.getParent(), pFile.getSite()));