简体   繁体   中英

How can I copy files from Azure File storage to my local machine every 2 hours (periodically)?

Please suggest the best way to I copy data from Azure File storage to local machines every 2 hours (periodically). Can we write a C# exe to do that and deploy it on the PC?

Write a desktop application in any language with the SDK support of Azure File Storage. Within that application, create a timer to do your download through the API.

If the there are configurable settings or user interactions needed, I'd say go for a desktop application.

Otherwise, and if your clients are windows PCs, best way would be to write a windows service that does the job.

您也许可以使用Azure Logic应用程序-例如,如果将作业设置为定期运行并将文件从文件存储复制到OneDrive,则OneDrive会将文件复制到本地服务器上。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM