0

I am planning on deploying an SFTP server that moves the files to Azure Blob Storage Containers and then on to a REST API.

Originally I was planning on using Azure Functions to process the file and send it to the API.

However, the security review has said that I would need to secure Azure Functions, which is extra work and maybe unnecessary with the following alternative approach.

The alternative approach is that when the file arrives, I run a webhook (from the storage account) that sends the file to the REST API directly.

After the webhook has run and the REST API reports success I would like to move the blob to a different container to indicate that it has been processed.

If the REST API fails I would probably want to keep the blob in the original container so it can be sent to the API a second time for processing.

How can I move the blob to a different container after the rest api/webhook has reported success?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.