How to write in FTP bulk export file from FTP
SummaryNeed to write in FTP bulk export file from FTP, but file is getting corrupted
I have the following requirement. I have to move a file from CX Sales to an FTP. However, even though I am not getting any error, the file that shows in the FTP is corrupted. When I try to open it, windows says that cannot open the file (the file is invalid). Also I can notice that the file size is just a few bytes, where as the original file is a few KB.
I think the problem is on how to transform the file format provided by the CX Sales adapter (I am using the standard adapter, Rest API, BulkExportActivities) in to a FileReference.