Forum Moderators: open

Message Too Old, No Replies

File Upload to multiple load-balanced web servers

         

MitchellT

2:14 pm on Oct 23, 2008 (gmt 0)

10+ Year Member



Forgive me if this question has already been answered, the search facility here is not the greatest!

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

ergophobe

4:35 pm on Oct 23, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome MitchellT and, no, the search facility is not the greatest. The community is though!

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"

and it lists a handful of commercial products that can do the job, though I can't vouch for any of them.