* @throws IOException
*/
public static synchronized FTPClient connect(String host, String userInfo, UserPasswordInput userPasswordInput) throws IOException {
FTPClient ftp = new FTPClient();
FTPReply reply = ftp.connect(host);
if (!reply.isSuccess()) {
throw new RuntimeException("Could not connect to " + host);
}
String user = "anonymous";