You can handle files on an SFTP server in Peliqan using the SFTP connector. Add an SFTP connection under “Connections” first (host, port, username, password etc.). Next, write a Python script in Peliqan to e.g. import data from CSV or JSON files. In your Python script you can read the data and insert into a table in your data warehouse.
You can request an SFTP account from the Peliqan market place !
Reading data from SFTP
Example script to read a JSON file from an SFTP server:
Writing data to SFTP
Note: writing data to SFTP is not done through the pq function.
Example script to write a CSV file to an SFTP server: