code: public static void downloadFile(String hostname, String username,
  			String password, String remoteSource, String localDestination)
  			throws Exception {
  		FTPClient ftp = new FTPClient();
  		ftp.connect(hostname);
  		ftp.login(username, password);
  		ftp.setFileType(FTP.BINARY_FILE_TYPE);
  		ftp.enterLocalPassiveMode();
  		FileOutputStream fos = new FileOutputStream(localDestination);
  		ftp.retrieveFile(remoteSource, fos);
  		ftp.logout();
  		ftp.disconnect();
  	}
docs: <p>
  put in localDestination the remote file on remote hostname
  </p>
  
  @param hostname
  @param username
  @param password
  @param remoteSource
  @param localDestination
  @throws Exception