Dynamics 365 Business Central SaaS: save a file to an SFTP server

very good article. Put the ftp handler in an Azure function makes it easily reusable. I myself would consider to use winscp within the Azure function to have even more flexibility

Stefano Demiliani

In our recently released „Mastering Dynamics 365 Business Central“ book, in the Azure Function chapter I’ve provided a full example on how to upload and download a file to Azure Blob Storage from a SaaS environment (this was one of the top request I’ve received on all my trainings this year). But many of you have also raised a new more request: in a Dynamics 365 Business Central SaaS environment, how can I save a file to an SFTP server?

This is an operation that you cannot do directly from a SaaS tenant, simply because from here you don’t have access to local resources and you cannot execute custom code. In this blog post I want to give you a possible solution that involves using a C# Azure Functions.

The Azure Function that we’ll use for this task is an HttpTrigger with a function called UploadFile defined…

Ursprünglichen Post anzeigen 716 weitere Wörter





%d Bloggern gefällt das: