function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Victor AbrahamVictor Abraham 

How to send a document from salesforce to FTP folder?

Hi all, is there any way to send documents(which will be generated from apex) from salesforce to some FTP folder?. Actually we want to send a list of record details saved in a .txt file through FTP.

_Prasu__Prasu_

You is not possible to upload a file to FTP Server from Apex. But you can write a intermediate code in .NET or JAVA as a webservice which will talk with FTP server and from Apex you can make a webservice callout to that webservice. 

Harry RickyHarry Ricky
You can`t do it via Apex, but 3rd party solution like Skyvia or Jitterbit will help you

Here are links to them:
- https://www.jitterbit.com/
- https://skyvia.com/