[英]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). 请提出每2小时一次(定期)将数据从Azure文件存储复制到本地计算机的最佳方法。 Can we write a C# exe to do that and deploy it on the PC? 我们可以编写一个C#exe并将其部署在PC上吗?
Write a desktop application in any language with the SDK support of Azure File Storage. 借助Azure文件存储的SDK支持,以任何语言编写桌面应用程序。 Within that application, create a timer to do your download through the API. 在该应用程序中,创建一个计时器以通过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. 否则,如果您的客户端是Windows PC,最好的方法是编写一个可以完成此任务的Windows服务 。
您也许可以使用Azure Logic应用程序-例如,如果将作业设置为定期运行并将文件从文件存储复制到OneDrive,则OneDrive会将文件复制到本地服务器上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.