Forum Moderators: open
I need to upload image and html files to multiple web servers in a load-balanced scheme. Is there an ftp client which supports this in a way that I can configure multiple target locations to be handled all at once so that I don't need to manually upload to each server separately? It seems so simple, yet I can't seem to find any software that supports this so far. I need Mac and Windows support.
Thanks for any suggestions!
Regards,
MitchellT
Personally, I would probably prefer to automate this server side rather than client side. That way if you're on the road or otherwise find yourself without the super multi-upload client, you can still get things done. And it's more of a set it and forget it option.
So (assuming a *nix server), you could run rsync as a cron job. rsync is a tool used to synchronize servers with as litle data transfer as possible. cron is a tool used to schedule jobs on *nix. So the combination of those two would automatically mirror one server to the other.
If it's not super time sensitive, you could run an rsync job every few hours or more often if you need to and that would just keep your servers in sync. You could also write a simple PHP script that would run your script, so that you just just go to that URL and manually force a sync anytime you wanted, in event that something was more time sensitive.
check out
[google.com...]
[webmasterworld.com...]
Otherwise, google on
ftp "upload to multiple servers"