assertTrue(root.exists());
new File("target/scp/local/dir").mkdirs();
writeFile(new File("target/scp/local/dir/out1.txt"), data);
writeFile(new File("target/scp/local/dir/out2.txt"), data);
scp.upload("target/scp/local/dir", "target/scp/remote/", ScpClient.Option.Recursive);
assertFileLength(new File("target/scp/remote/dir/out1.txt"), data.length(), 5000);
assertFileLength(new File("target/scp/remote/dir/out2.txt"), data.length(), 5000);
Utils.deleteRecursive(new File("target/scp/local/dir"));
scp.download("target/scp/remote/dir", "target/scp/local", ScpClient.Option.Recursive);