LINUX — How to export a CSV from PostgreSQL and upload it to a SFTP server