创建计时器作业以将文件从一个站点复制到另一个网络中的另一个站点

创建计时器作业以将文件从一个站点复制到另一个网络中的另一个站点

问题描述:

我必须创建一个SharePoint计时器作业,该作业将把文档从SharePoint网站上的文档库复制到另一个完全不同的网络上的第二个SharePoint网站. 2个网络之间存在防火墙(文件所在的第一个网络 存在并且需要将文件复制到的第二个网络)这两个站点都位于SharePoint 2013上.

I have to create a SharePoint timer job which will copy documents from a document library on a SharePoint site to a second SharePoint site which is on a completely different network. There is firewall between the 2 networks (the first network where the file exists and second network where the file needs to be copied to) Both sites are on SharePoint 2013 on prem.

任何人都可以提出一些有关如何执行此操作的想法吗?预先感谢..

can anyone give some ideas on how to do this? Thanks in advance..

如果有其他替代方法可以完成此任务,则不必使用计时器作业.但是任务需要按给定的时间表定期运行.

I don't necessarily have to use a timer job if there is some other netter alternative to accomplish this. But the task needs to run periodically on a given schedule .

Vivek,

我看到的唯一选择是将文件和文件夹共享到公共共享,然后将其上传到目标服务器场.

The only option I see is to get the files and folder to the common share and upload it to the destination farm.