Instructions 'put', 'get' and 'lcd' do not work in the Free Form step on an IG FTP job.
The 'put' instruction aborts producing the following report
2024-08-14 13:25:47 copy /XXX/FILE1 to c:\XXX\FILE2
2024-08-14 13:25:47 Connection could not be established.: com.automic.agent.ftp.exceptions.DataTransferException: Connection could not be established.
2024-08-14 13:25:47 at com.automic.agent.ftp.commands.impl.ConnectionLessFTPCommandImpl.isDirectory(ConnectionLessFTPCommandImpl.java:108)
2024-08-14 13:25:47 at com.automic.agent.ftp.commands.impl.CopyCommand.execute(CopyCommand.java:502)
2024-08-14 13:25:47 at com.automic.agent.ftp.commands.impl.CopyCommand.execute(CopyCommand.java:407)
2024-08-14 13:25:47 at
..............
2024-08-14 13:25:47 at com.automic.agent.ftp.jobs.FtpJob.runJob(FtpJob.java:79)
2024-08-14 13:25:47 at com.automic.ra.agent.RaJobProcessorImpl.execute(RaJobProcessorImpl.java:93)
2024-08-14 13:25:47 at com.uc4.ex.Job.run(Job.java:463)
2024-08-14 13:25:47 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
2024-08-14 13:25:47 at java.util.concurrent.FutureTask.run(Unknown Source)
2024-08-14 13:25:47 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2024-08-14 13:25:47 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2024-08-14 13:25:47 at java.lang.Thread.run(Unknown Source)
The 'get' instruction runs successfully BUT the file is not transferred on the destination host.
Commands like 'cd' and 'ls' are running fine.
Same Free Form commands executed by a RA FTP agent are working fine.
IG FTP 21.1.0
This is a defect of the IG FTP agent
Workaround:
Continue executing this kind of job by an RA FTP agent (already existing on that system before the IG FTP agent was deployed!!).
Solution:
This bug is fixed in versions :
-- IG FTP Agent: 24.2.0 - Available
-- IG FTP Agent: 21.2.0 - Available
The 'copy' instruction cannot be used, as it is not supported in Free Form steps.
Related Bug:
ID : DE152839
Title : Integrated FTP solution - FreeForm PUT command