[SalesForce] Export Data Extension to FTP server via API

Looking for a faster solution to download data extension data. Currently we have a solution similar to this …

https://help.exacttarget.com/en/technical_library/web_service_guide/technical_articles/retrieving_data_from_a_data_extension/

The number of rows we are downloading has increased significantly so we are looking for a faster solution.

As the above page states, performance can be increased by delivering the data to an Enhanced FTP Location.

It links to this page…
https://help.exacttarget.com/en/technical_library/web_service_guide/technical_articles/creating_a_data_extract_activity_with_the_soap_web_service_api/

…however I am not sure what parameters need to be specified for the ExtractRequest to return the Data Extension rows?

So if anyone could outline this process and the parameters needed that would be a huge help.

Best Answer

I would recommend set this up within the ET application itself. It would be much easier than doing it in the API. What you would do:

  1. Set up a query activity to grab the persisted data and put it in a new data extension (using overwrite, so you can reuse it)

  2. Set up an data extract activity to extract the data.

  3. Set up a file transfer activity to moved the extract to the FTP server.

  4. Set up an automation in Automation Studio to do these steps in order. This will allow you schedule the frequency.

Hope this helps!

Related Topic