One Star

How to send FTP command using Talend Data Integration

With Talend Data Integration, I can open a connection and send/receive files. How can I send a ftp command other than send/put/rename? The command that I need to send is "QUOTE SITE FILETYPE=SEQ" for our mainframe.
Thank you
4 REPLIES
Moderator

Re: How to send FTP command using Talend Data Integration

Hi,
Maybe you are looking for tSystem to call FTP command.
Note: Make sure you have installed FTP application in your computer.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: How to send FTP command using Talend Data Integration

Sorry I did not make myself more clear. My job has the following components. tFTPConnection opens the ftp channel to the ftp server. tFTPGet gets some files. With my channel open, I now need to send a command to the FTP server. Like a get or put, I need to send "QUOTE SITE FILETYPE=JES" while within the FTP session. How can I do this?
Thanks
Moderator

Re: How to send FTP command using Talend Data Integration

Hi,
Yes I got your requirement, however, it can not be achieved by tFTPXXX component.
You should use tjava to make connection then run .executeCommand(command) for your FTP command.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: How to send FTP command using Talend Data Integration

Hai,
How can i get a ftp file from a ftp server into my sql database?