Kody
Neophyte
3 years agoMonitor SFTP site connection
Has someone already created a data source that checks a SFTP connection to a specific site? I saw there was one created a few years ago but the link is dead.
Chat-GPT prompt FYI:
Write a Groovy script to connect to a given SFTP server, log in using a given user name and password, list the contents of the default directory, and print the contents of a file with a given file name. If the file with the given file name is not present, print a message indicating that.