0
votes

Would like to know whether it is a feasible to move the folder ( with files ) from Azure blob/file storage to webapp root.

Scenario: Would like to replace gallery of images folder used by static HTML site for gallery section weekly using powershell.

Request suggestions or alternatives as not sure how to handle this in azure and schedule swapping of folders between blob and ftp.

3
Note: The above request is because FTP is not preferred for creative team. so do not prefer to grant FTP access and prefers to route via Azure storage. once on Azure storage, script shall move folder and overwrite on azure webapp ftp space.H Bala

3 Answers

1
votes

You can use the BlobTrigger trigger with WebJob deployed on the same web app and copy the files from blob storage to the local file system.

1
votes

Would like to replace gallery of images folder used by static HTML site for gallery section weekly using powershell.

Please try to store the images in Azure blob directly. We can access the images in Azure blob with 'Full public read access' mode or 'Public read access for blobs only' mode. Refer to this article for more details. Then we can use Scheduler Webjob to replace the images directly.

0
votes

It wasn't clear to me exactly what you are trying to do. If you have a legacy app / adoption of FTP you can mount an FTP server on Azure File Storage. Or alternatively Blob Storage can be used for public data as described above. If you want a simple tool for interacting with Blob Storage then you can try Storage Explorer.