public static final int DEFAULT_SCP_PORT = 22;
/** @deprecated deve ser utilizado o metodo com o logger */
public static boolean copyFileFromRemoteToLocal(String userName, UserInfo userInfo, String hostName, int hostPort, String remoteFile, String localFile) {
StringBuffer sb = new StringBuffer();
boolean result = copyFileFromRemoteToLocal(userName, userInfo, hostName, hostPort, remoteFile, localFile, new StringBufferLogger(sb));
System.out.println(sb);
return result;
}