Gustavo Bertazzoli
2022-12-07 08:55:38 UTC
Hello Tandem Guys,
I'm quite good in the SQL/MP stuff from the Tandem. But now I need something a bit more complex, but unfortunately, I have completely zero knowledge on how to do it. Basically, what I have to do is to create a script which does the following steps:
- execute a SQL query and generate a txt file (easy part for me)
- connect to a FTP server(on the same network but out of tandem) via SFTP and upload the file there
My difficulties are:
- How to create the script
- How to execute the SQL inside of it
- How to ftp inside it
I know that Tandem have a completely different architecture and this script is probably quite different from bash scripts from Linux and so on.
But I have to start somehow, so, does anyone here have any documents to share to help me in order to start with it?
Thanks a lot in advance and greetings!
Gustavo Bertazzoli
I'm quite good in the SQL/MP stuff from the Tandem. But now I need something a bit more complex, but unfortunately, I have completely zero knowledge on how to do it. Basically, what I have to do is to create a script which does the following steps:
- execute a SQL query and generate a txt file (easy part for me)
- connect to a FTP server(on the same network but out of tandem) via SFTP and upload the file there
My difficulties are:
- How to create the script
- How to execute the SQL inside of it
- How to ftp inside it
I know that Tandem have a completely different architecture and this script is probably quite different from bash scripts from Linux and so on.
But I have to start somehow, so, does anyone here have any documents to share to help me in order to start with it?
Thanks a lot in advance and greetings!
Gustavo Bertazzoli