I'm working with Azure Functions 2.0 and I need to fetch documents from CosmosDB, format them into a single CSV file and upload it to an SFTP location.
I'm able to query and fetch documents via the CosmosDB input binding and will be probably use the CSVHelper library to handle CSV formatting. But I can't seem to find an SFTP output binding. I've checked:
Apparently, there used to be an External File trigger/binding which has been deprecated (Corrupt file when using Azure Functions External File binding)
What is the best way to stream upload a file to an SFTP location from an Azure Function?