How to use SFTP for RTC EE Deploy on IBM i?
Hello!
Is it possible to use Secure FTP (rather than vanilla FTP) to deploy an RTC EE package on the IBM i? How? Thanks, Larry. |
One answer
scp could be used to support copy from remote server to local using the following command:
<scp file="user:password@somehost:/home/chuck/*" todir="/home/sara"/> per http://ant.apache.org/manual/Tasks/scp.html Users have an option to replace the loadUsingFTP task in <buildtoolkit-install-dir>jazz/buildsystem/buildtoolkit/scripts/enterprise/deploy.xml. E.g. to replace the following task as below but other tasks like rollback, etc can be reused. <target name="loadUsingFTP" if="isLoadMethodFTP"> <scp file="${team.deploy.common.load.ftp.calculated.userid}:${team.deploy.common.load.ftp.calculated.password}@${team.deploy.common.load.ftp.calculated.hostname}:${team.deploy.common.remotePackage.dir}" todir="${team.deploy.common.localPackage.dir}"> </scp> </target> |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
A bit more info... I found Feature 171981 with a potential workaround. Just checking to be sure it applies to IBM i, before parroting it here....
- Larry.