FTP to two(2) webservers?

Moderator: Mattk

Post Reply
pelle61
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Mon Mar 26, 2018 8:26 pm

FTP to two(2) webservers?

Post by pelle61 » Tue May 01, 2018 5:59 pm

Hi there! Is it possible in ANY way to upload the small txt files to two different web servers? I´m with Meteohub ver.5.0 x.

(Or is it possible to write a PHP script with a timer that copies them with an time interval? Just now I copy the files when loading the start page, but I would like to di it automatically :D )

Any help is appreciated!

User avatar
d_l
Expert Boarder
Expert Boarder
Posts: 131
Joined: Fri Mar 13, 2009 12:58 am
Location: Reno, Nevada USA
Contact:

Re: FTP to two(2) webservers?

Post by d_l » Thu Jul 12, 2018 9:06 pm

You probably won't like this suggestion, but you could probably do it with two Meteohub servers. I'm guessing that you are computing different values and inserting them into the two txt files. If you used two servers, the second would link to the first to obtain its raw weather data.

I have to do something similar because I have two weather stations so weather data is up loaded to two different sub-files on one web server. AFAIK it takes two Meteohub servers to do this. As a bonus, the calculations for various graphs can be spread across my Meteohub servers reducing the computation load on each.

Post Reply