This is a sample how to use FTP Adapter (Inbound and Outbound).
This sample has an interoperability production for:
Here you can see this production:
Make sure you have git and Docker desktop installed.
Open IRIS Namespace with Interoperability Enabled. Open Terminal and call: USER>zpm "install iris-ftp-sample"
Clone/git pull the repo into any local directory
$ git clone https://github.com/yurimarx/iris-ftp-sample.git
Open the terminal in this directory and run:
$ docker-compose build
$ docker-compose up -d
User Name: irisuser
Here is likes look it:
SELECT country, latitude, longitude, name FROM dc_irisftpsample.Country. See here likes look the csv data loaded into the sql table:
insert into dc_irisftpsample.Payment(amount payer, receiver, transactiondate) values(100.0,'Yuri','Fabiana', CURRENT_TIMESTAMP). See here likes look the JSON file into the FTP server with the data inserted:
This repository is ready to code in VSCode with the ObjectScript plugin. Install VSCode, Docker and ObjectScript plugin and open the folder in VSCode.
Use the handy VSCode menu to access the production and business rule editor and run a terminal: