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
sandeep kumar 140sandeep kumar 140 

How to upload the text file to FTP server from salesforce

Hi All,

I have requirement to upload the text file to FTP server from Salesforce. How to do this. Is there any way to do this..?? I am generating the text file from vf page when custom button click..

Please help on this ASAP
Mehul MakwanaMehul Makwana
Through the salesforce service (Apex or others) you cannot directly communicate with an FTP server (either upload or download).
Your best bet would be to use an external application. Jitterbit Data Loader is the go to application for FTP interactions with salesforce.
You could also create your own service outside of the salesforce platform.

OR 

Refer this Link : http://https://developer.salesforce.com/forums/?id=906F000000095bfIAAApp.

or you can used this App: https://appexchange.salesforce.com/listingDetail?listingId=a0N300000016ZwDEAU 

Let me know if this help you.
Pablo JhianoPablo Jhiano
Skyvia provides an opportunity to perform it automatically but supports export only to CSV format. Take a look https://skyvia.com/data-integration/import