From 7ac2020f9bf6ec25dc4db23678f44809b834f565 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sun, 15 Sep 2019 14:48:38 +0100 Subject: [PATCH] GIS-1621 - Use script prompting to obtain publishing info from user --- remoteaccess/hostedftp.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/remoteaccess/hostedftp.groovy b/remoteaccess/hostedftp.groovy index fd81d6d..c977b97 100644 --- a/remoteaccess/hostedftp.groovy +++ b/remoteaccess/hostedftp.groovy @@ -1,7 +1,7 @@ ftpremote = load("${autobuilder.commonscripts()}/remoteaccess/ftp.groovy") -FTPSiteInfo getHostedFTPSiteInfo() { - FTPSiteInfo hostedftpsiteinfo = +ftpremote.FTPSiteInfo getHostedFTPSiteInfo() { + ftpremote.FTPSiteInfo hostedftpsiteinfo = ftpremote.createFTPSiteInfo("ftp.hostedftp.com", "ftp@globalinkjetsystems.com", "ramshorn42", @@ -13,7 +13,7 @@ def getCustomerList() { def List customerfilenames = new ArrayList() def List customers = new ArrayList() - FTPSiteInfo ftpsiteinfo = getHostedFTPSiteInfo() + ftpremote.FTPSiteInfo ftpsiteinfo = getHostedFTPSiteInfo() FTPClient ftpclient = ftpremote.createFTPClient(ftpsiteinfo) customerfilenames = ftpclient.listNames()