Hi All, I am wondering if any of you smart folks has a groovy script that can automatically choose which protocol to send a file via FTP.
I have a server that is ftp and can send the file no issues. From time to time they need to send it to an ftp with TLS. We have this situation in a number of scenarios where we need to switch from ftp to sftp (without having to change the groovy script). I am thinking maybe we could pass a parameter to say which protocol to use?
Any thoughts? Thanks
I have a server that is ftp and can send the file no issues. From time to time they need to send it to an ftp with TLS. We have this situation in a number of scenarios where we need to switch from ftp to sftp (without having to change the groovy script). I am thinking maybe we could pass a parameter to say which protocol to use?
Any thoughts? Thanks