FTPClient
ftpClient = new FTPClient(); ftpClient.connect("ftp.foo.com", "user01",
"pass1234"); ftpClient.download("C:\\Temp\\", "README.txt"); // Eventually
other operations here
... ftpClient.disconnect();
URL
url = new
URL("ftp://user01:pass1234@ftp.foo.com/README.txt;type=i"); URLConnection
urlc = url.openConnection(); InputStream is = urlc.getInputStream(); // To
download OutputStream os = urlc.getOutputStream(); // To
upload