assertFileLength(new File("target/scp/remote/dir/out2.txt"), data.length(), 5000);
assertEquals(lastMod, new File("target/scp/remote/dir/out2.txt").lastModified());
Utils.deleteRecursive(new File("target/scp/local"));
new File("target/scp/local").mkdirs();
scp.download("target/scp/remote/*", "target/scp/local", ScpClient.Option.Recursive, ScpClient.Option.PreserveAttributes);
assertFileLength(new File("target/scp/local/out1.txt"), data.length(), 5000);
assertEquals(lastMod, new File("target/scp/local/out1.txt").lastModified());
assertFileLength(new File("target/scp/local/dir/out2.txt"), data.length(), 5000);
assertEquals(lastMod, new File("target/scp/local/dir/out2.txt").lastModified());