/** Download a file from {@code sourcePath} on the connected host to {@code targetPath} locally. */ public synchronized int copy(String sourcePath, LocalDestFile targetFile) throws IOException { return copy(sourcePath, targetFile, ScpCommandLine.EscapeMode.NoEscape); }
@Override public void download(String remotePath, LocalDestFile localFile) throws IOException { newSCPDownloadClient().copy(remotePath, localFile); }
/** Download a file from {@code sourcePath} on the connected host to {@code targetPath} locally. */ public synchronized int copy(String sourcePath, LocalDestFile targetFile) throws IOException { return copy(sourcePath, targetFile, ScpCommandLine.EscapeMode.NoEscape); }
@Override public void download(String remotePath, LocalDestFile localFile) throws IOException { newSCPDownloadClient().copy(remotePath, localFile); }
@Override public void download(String remotePath, LocalDestFile localFile) throws IOException { newSCPDownloadClient().copy(remotePath, localFile); }