Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

SFTP

Discussion specific to Fine Offset and similar rebadged weather stations
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: SFTP

Post by steve »

You're only uploading realtime.txt, so that's the only file that's going to be updated. If you want the html pages, graphs etc to be updated, you'll have to upload them. I'm not sure how you thought it was going to happen otherwise? The SFTP page in the wiki does list the files that you need to upload.
Steve
tecno
Posts: 25
Joined: Mon 23 Jan 2012 2:29 pm
Weather Station: W1081
Operating System: XP
Location: Sparreholm Sweden

Re: SFTP

Post by tecno »

OK now I get it. I was in the believe that the realtime *data* was used to update the pages.

So back to the keyboard and write another script. I hope I can get this one correct.

Can I use *.html etc to /xxx/*.html ?
Cheers
Bengt
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: SFTP

Post by steve »

The only thing the realtime.txt file is used for in the standard pages is for the pair of 'Flash' wind gauges. Everything else is updated on the PC and uploaded. Most of the code in the supplied pages is simple HTML; there's no way to do anything clever like read the data from a file to update the page. There are ways to do this, using javascript/Ajax etc, and some people have done this. But the supplied pages are intended to be simple and to be easy to get working on any web server. In 99.9% of cases, the server is sensible and supports ftp, so getting the supplied pages working is quite straightforward (assuming the user understands how their ftp server file space is set up).
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: SFTP

Post by steve »

tecno wrote:Can I use *.html etc to /xxx/*.html ?
Sorry, I have no idea. I know nothing about WinSCP; I didn't write that page in the wiki.

Edit: but note that if you do use *.htm (sic) in the Cumulus web folder, you will also get the 'template' files, which aren't intended to be uploaded.
Steve
tecno
Posts: 25
Joined: Mon 23 Jan 2012 2:29 pm
Weather Station: W1081
Operating System: XP
Location: Sparreholm Sweden

Re: SFTP

Post by tecno »

Hi Steve,
Now the pages are updateing, thanks for your kind support.

I did go the 'long' way ie one put line for each file in my script
Cheers
Bengt
Post Reply