Page 1 of 1

Two different servers

Posted: Mon 07 Feb 2011 2:50 pm
by Bergholmen
Hi
I'm trying to figure out how to uppload the data to two different servers. I've made a small widget in a wordpress site thats reads the realtime.txt, but it can't read between the domain's on the webhotell I use.
Maybe a small script thats uploads just the realtime.txt file.

/Ralf

Re: Two different servers

Posted: Mon 07 Feb 2011 3:06 pm
by steve
Later builds of 1.9.1 have a facility for running an external command at ftp time; you could perhaps use this to ftp the realtime.txt file to another server?

Re: Two different servers

Posted: Mon 07 Feb 2011 4:00 pm
by Bergholmen
Fine
I've looked at the notes and wonder if it's worth try that version? I think I'll try to run it local first.
/Ralf

Re: Two different servers

Posted: Mon 07 Feb 2011 4:09 pm
by steve
OK. I'm not sure if anyone has actually tried this facility for real. I tested it with a simple command locally.

Re: Two different servers

Posted: Mon 07 Feb 2011 5:12 pm
by laulau
I'm using it successfully to run a batch file.

Re: Two different servers

Posted: Mon 07 Feb 2011 5:19 pm
by steve
Oh good, thanks.

Re: Two different servers

Posted: Mon 07 Feb 2011 5:28 pm
by laulau
Is it possible to have an external command at "roll over time" in a future build ?

Re: Two different servers

Posted: Mon 07 Feb 2011 5:33 pm
by steve
Yes, I would think so.

Re: Two different servers

Posted: Mon 07 Feb 2011 5:43 pm
by laulau
Thanks :D