Page 2 of 2

Re: FTP error realtimegauges.txt

Posted: Fri 04 Dec 2015 4:12 pm
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!

Re: FTP error realtimegauges.txt

Posted: Sat 05 Dec 2015 11:44 am
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

Re: FTP error realtimegauges.txt

Posted: Sat 05 Dec 2015 6:18 pm
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:

Re: FTP error realtimegauges.txt

Posted: Mon 07 Dec 2015 10:32 am
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.

Re: FTP error realtimegauges.txt

Posted: Mon 07 Dec 2015 1:46 pm
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:

Re: FTP error realtimegauges.txt

Posted: Mon 07 Dec 2015 5:02 pm
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.

Re: FTP error realtimegauges.txt

Posted: Mon 07 Dec 2015 5:35 pm
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!