We have a requirement that's pretty straightforward.
Export data from a NS saved search
Create a CSV file from the NS saved search
Post a base64 encoded version of the entire CSV file to an API endpoint
I can easily export a NS saved search and create a CSV on an FTP server, what I'm struggling with is how do we get the entire file content as one blob so that I can base64 encode it and post it to my API endpoint.