What should be used in place?
Can you provide some detail about your use case? What are you trying to export and in what shape?
This script use ExportFile and I was looking in the documentation.
The script in attachment
Boulevard Simón Bolívarlaan 34 - 1000 Brussels - BELGIUM
Use Case of ExportFile should be exporting files.
From reverse engineering of the script, I see that those files are published on an url like:
So we can easily download the file with tools like curl.
The documentation of ExportFile is
OBSOLETE! Do not use!
but it does not indicate what to do
if you need to export data to S3 then have a look to
How can I download data from S3?
How can transfer data from S3 cluster1 to S3 cluster2?
I suppose via method fileEndpoints
Similarly, there is the