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

FTP error realtimegauges.txt

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP error realtimegauges.txt

Post by mcrossley »

That sounds like an obvious solution.

Regarding the keep-alive, I left FileZilla running to your server Steve, and it still timed out the connection after 5 minutes, even with the keep-alives. So it looks like the FTP service may ignore them anyway!
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: FTP error realtimegauges.txt

Post by freddie »

Grimers wrote:
freddie wrote: I don't think you do understand. The tmp file is the result of Cumulus processing the txt file and replacing the web tags with real data - which is precisely what is required for display on the web site. So, yes, he DOES want to upload the tmp file.
Right, I'm not going on. But, I certainly do not upload the temp file, I upload the txt file so that Cumulus can process the web tags inside the file...
Cumulus processes the tags before the upload occurs. Here's the basic sequence:
  • Cumulus reads in the template file realtimegaugesT.txt
  • Cumulus replaces the tags in realtimegaugesT.txt and saves the result to realtimegauges.txttmp
  • Cumulus then uploads the contents of realtimegauges.txttmp to the web server and saves it as realtimegauges.txt
  • The gauges web page then references the values in realtimegauges.txt and uses them to set the gauges to the correct values
Freddie
Image
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: FTP error realtimegauges.txt

Post by Grimers »

freddie wrote:
Grimers wrote:
freddie wrote: I don't think you do understand. The tmp file is the result of Cumulus processing the txt file and replacing the web tags with real data - which is precisely what is required for display on the web site. So, yes, he DOES want to upload the tmp file.
Right, I'm not going on. But, I certainly do not upload the temp file, I upload the txt file so that Cumulus can process the web tags inside the file...
Cumulus processes the tags before the upload occurs. Here's the basic sequence:
  • Cumulus reads in the template file realtimegaugesT.txt
  • Cumulus replaces the tags in realtimegaugesT.txt and saves the result to realtimegauges.txttmp
  • Cumulus then uploads the contents of realtimegauges.txttmp to the web server and saves it as realtimegauges.txt
  • The gauges web page then references the values in realtimegauges.txt and uses them to set the gauges to the correct values
Correct! :clap:
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: FTP error realtimegauges.txt

Post by freddie »

Grimers wrote:
freddie wrote:
Cumulus processes the tags before the upload occurs. Here's the basic sequence:
  • Cumulus reads in the template file realtimegaugesT.txt
  • Cumulus replaces the tags in realtimegaugesT.txt and saves the result to realtimegauges.txttmp
  • Cumulus then uploads the contents of realtimegauges.txttmp to the web server and saves it as realtimegauges.txt
  • The gauges web page then references the values in realtimegauges.txt and uses them to set the gauges to the correct values
Correct! :clap:
So you agree that the tmp file is the one that should be uploaded? It's good that you can see this.
Freddie
Image
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: FTP error realtimegauges.txt

Post by Grimers »

freddie wrote:
Grimers wrote:
freddie wrote:
Cumulus processes the tags before the upload occurs. Here's the basic sequence:
  • Cumulus reads in the template file realtimegaugesT.txt
  • Cumulus replaces the tags in realtimegaugesT.txt and saves the result to realtimegauges.txttmp
  • Cumulus then uploads the contents of realtimegauges.txttmp to the web server and saves it as realtimegauges.txt
  • The gauges web page then references the values in realtimegauges.txt and uses them to set the gauges to the correct values
Correct! :clap:
So you agree that the tmp file is the one that should be uploaded? It's good that you can see this.
All along! :clap:
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: FTP error realtimegauges.txt

Post by freddie »

Grimers wrote:
freddie wrote:So you agree that the tmp file is the one that should be uploaded? It's good that you can see this.
All along! :clap:
Grimers wrote:Right, I'm not going on. But, I certainly do not upload the temp file, I upload the txt file so that Cumulus can process the web tags inside the file...
Hmmmmm ... the above quote from you tends to suggest not.
Freddie
Image
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: FTP error realtimegauges.txt

Post by Grimers »

freddie wrote:
Grimers wrote:
freddie wrote:So you agree that the tmp file is the one that should be uploaded? It's good that you can see this.
All along! :clap:
Grimers wrote:Right, I'm not going on. But, I certainly do not upload the temp file, I upload the txt file so that Cumulus can process the web tags inside the file...
Hmmmmm ... the above quote from you tends to suggest not.
No, no, no, I personally do not click on the tmp file and tell Cumulus to upload it, I click the txt file and then Cumulus processes that to make the tmp file which is uploaded. Wholla!
Locked