You can use below FTP API to integrate FTP server with Salesforce.
We have implemented a REST API which allow to directly communicate with an FTP server. This FTP API is designed for people who need to perform actions like DOWNLOAD, UPLOAD, DELETE and TRANSFER on the FTP server using REST API’s.
You can achieve this with ANT migration tool. I am currently working on the same use case and this post below is a great resource i believe.
http://www.jitendrazaa.com/blog/salesforce/using-dataloader-and-ant-to-backup-salesforce-data-on-ftp-server-video/.
let me know if you need more help.
Thanks,
Raj
You can export SF data to FTP server on schedule (up to real-time) with the help of Skyvia (https://skyvia.com/data-integration/integrate-salesforce-ftp). It requires no coding and has an instinctive drag and drop interface.
We have implemented a REST API which allow to directly communicate with an FTP server. This FTP API is designed for people who need to perform actions like DOWNLOAD, UPLOAD, DELETE and TRANSFER on the FTP server using REST API’s.
FTP API: https://ftp-api.herokuapp.com/
Blog Post: https://medium.com/@adarshsharma.jaipur/how-to-use-ftp-server-using-rest-api-8d1b3f88de0
If your problem have resolve, then mark this solution as a best answer and let me know if you need any other information.