### Question:
SSH2Util { public static void wget(Machine machine, String targetPath, String fileName, String remoteUrl, boolean sudo) throws Exception { rm(machine, targetPath + fileName, sudo); StringBuilder command = new StringBuilder(); if (sudo) { command.append("sudo "); } String template = "/usr/bin/wget -P %s %s"; command.append(String.format(template, targetPath, remoteUrl)); String execute = execute(machine, command.toString()); } private  SSH2Util(); static void wget(Machine machine, String targetPath, String fileName, String remoteUrl, boolean sudo); static String copy(Machine machine, String originalPath, String targetPath, boolean sudo); static String copy2(Machine machine, String originalPath, String targetPath, boolean sudo); static String copyFileToRemote(Machine machine, String tempPath, String url, boolean sudo); static String rm(Machine machine, String filePath, boolean sudo); static String unzipToTargetPath(Machine machine, String filePath, String targetPath, boolean sudo); static String mkdir(Machine machine, String path, boolean sudo); static String execute(Machine machine, String commands); @Deprecated static String localExecute(String command); static Connection getConnection(Machine machine);  }### Answer:
@Test public void remoteCopy() throws Exception { SSH2Util.wget(machine, "/data/test/", "redis3.0.6.tar", "http: }