How do you connect to the https? In Java? Various libraries available for that on internet.
https has nothing to do with logins. Loading the proper certificates in the modeler should do the trick.
But if the server is asking for login information as well, you need to figure out which authentication protocol is used, http basic authentication for example.
How are you retrieving the files? If you use the HTTP protocol in combination with java.net stuff (sockets, http, url or something like that) you can just add the required login headers. For example something like:
URL url = new URL(“location address”); URLConnection uc = url.openConnection(); String authorizationString = “Basic “ + Base64.encode(username+":"+password); uc.setRequestProperty ("Authorization", authorizationString); InputStream in = url.openStream();
Hi Ronald. It is possible to script ftp sessions. See this link for some details. The command you want is like
ftp -s:login-details.txt www.yourftpserver.com
where login-details.txt contains the username and password as the first 2 lines, followed by other ftp commands as needed.