简体   繁体   English

如何每隔2小时(定期)将文件从Azure文件存储复制到本地计算机?

[英]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.

相关问题 如何将文件从需要身份验证的计算机复制到本地计算机? - How to I copy a file from a computer that requires authentication to my local machine? 如何将文件从独立存储复制到下载文件夹? - How can I copy a file from the isolated storage to the Downloads folder? 如何在Azure函数中将文件从github复制到WASB存储 - How to copy files from github to WASB storage in azure function 如何从本地计算机的URL复制文件? - How to make a copy of file from its URL in local machine? 有没有办法将Blob从本地存储模拟器复制到远程Azure存储? - Is there a way to copy a blob from the local storage emulator to a remote azure storage? 如何从本地计算机生成bacpac文件并将其上载到Azure blob? - How do I generate bacpac file from local machine and upload it on Azure blob? 如何检查存储在我的 iis 网站之一而不是本地计算机上的 dll 文件的程序集版本? - How can i check the assembly version of a dll file that is stored on one of my iis websites and not on my local machine? 如何从Azure Web App本地存储中删除文件? - How to delete a file from Azure Web App local storage? 使用 WMI 将文件从本地计算机复制到远程计算机 - Copy a file from local machine to remote machine using WMI 无法从我的表单将文件上传到 Azure Blob 存储 - Can´t upload file to Azure Blob Storage from my form
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM