开发者

Howto synchronize two folders (on different servers) after an (classic) ASP upload

开发者 https://www.devze.com 2022-12-30 23:17 出处:网络
I\'m using a customized backend to upload images on a server. The issue is that the client has a load balanced server so I need to synchronize the upload folders on both server. I\'m not able开发者_运

I'm using a customized backend to upload images on a server.

The issue is that the client has a load balanced server so I need to synchronize the upload folders on both server. I'm not able开发者_运维百科 to know which server is executing on the backend.

I'm just wondering which is the best way to compare and synchronize the folders on two servers? An FTP script using the windows "cron-job"? A shell script activated by ASP? Aa ASP script that uses FTP commands?

thanks


If your servers are on the same network you could do this with a utility like ROBOCOPY http://en.wikipedia.org/wiki/Robocopy

Also you might be able to use DFS replication.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号