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

Realtime Text File Not Generating On Start-up

Please discuss beta versions of Cumulus 1 here. Note: There are currently no beta versions of Cumulus 1.
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: Realtime Text File Not Generating On Start-up

Post by steve »

You're using Windows path names (including drive names!) on an ftp server. That doesn't work.
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Realtime Text File Not Generating On Start-up

Post by daj »

your path name for the FTP server needs to be something like

/CumulusWeb

This is also relative to the folder your FTP server places the FTP user when they login
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
glen.day
Posts: 105
Joined: Wed 16 Jul 2008 11:55 pm
Weather Station: Davis Vantage Pro 2/Vue
Operating System: Ubuntu 20.04.3 LTS
Location: Lara, Victoria Australia
Contact:

Re: Realtime Text File Not Generating On Start-up

Post by glen.day »

Steve,

Just a quick thank you - the realtime.txt file is now being generated correctly on start-up in your latest Beta.

Thanks again.
Glen
shotsky
Posts: 53
Joined: Tue 16 Nov 2010 2:44 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7-64 Ultimate
Location: Beaverton, Oregon

Re: Realtime Text File Not Generating On Start-up

Post by shotsky »

daj wrote:your path name for the FTP server needs to be something like

/CumulusWeb

This is also relative to the folder your FTP server places the FTP user when they login
Ok, I made that change, and now I get more descriptive comments back from the ftp server, but I see that the file realtime.txttmp is never created in the Cumulus folder, so of course it isn't copied to the FTP server, and that seems to be the main problem.
From my server:
< STOR /CumulusWeb/realtime.txttmp [172.20.0.100 <- (67.189.21.25) : 49281 (23-11-2010 11:07:41)]
< RNFR /CumulusWeb/realtime.txttmp [172.20.0.100 <- (67.189.21.25) : 49281 (23-11-2010 11:07:42)]
> 550 "/CumulusWeb/realtime.txttmp": no such file or folder. [172.20.0.100 -> (67.189.21.25) : 49281 (23-11-2010 11:07:42)]

I AM getting regular 15 second updates of realtime.txt, but it is not creating a realtime.txttmp file to copy.
Thanks,
John
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: Realtime Text File Not Generating On Start-up

Post by steve »

shotsky wrote:but I see that the file realtime.txttmp is never created in the Cumulus folder, so of course it isn't copied to the FTP server, and that seems to be the main problem.
That's not how it works. It sends the realtime.txt file, but tells the ftp server to call it realtime.txttmp. Then it renames it.
Steve
shotsky
Posts: 53
Joined: Tue 16 Nov 2010 2:44 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7-64 Ultimate
Location: Beaverton, Oregon

Re: Realtime Text File Not Generating On Start-up

Post by shotsky »

steve wrote:
shotsky wrote:but I see that the file realtime.txttmp is never created in the Cumulus folder, so of course it isn't copied to the FTP server, and that seems to be the main problem.
That's not how it works. It sends the realtime.txt file, but tells the ftp server to call it realtime.txttmp. Then it renames it.
There is no file sent, nor renamed. I copied one over earlier, then it displayed properly, but it doesn't seem to be able to send it. Is it possible to do this entire thing without using FTP? If not, I may just bag the realtime thing entirely.
Thanks,
John
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: Realtime Text File Not Generating On Start-up

Post by steve »

shotsky wrote:There is no file sent
Then most likely you still have the wrong path configured. If your ftp user has a home of the CumulusWeb folder, then you shouldn't be specifying that as the path, because you're already in that folder when you log in. You probably need an empty path.
Is it possible to do this entire thing without using FTP?
Yes, of course; that's what this thread was about originally, it's how Glen is doing it. Turn off the two realtime FTP options, and specify the local and remote filenames on the files tab, and don't tick any of the boxes apart from Realtime.
Steve
shotsky
Posts: 53
Joined: Tue 16 Nov 2010 2:44 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7-64 Ultimate
Location: Beaverton, Oregon

Re: Realtime Text File Not Generating On Start-up

Post by shotsky »

steve wrote:
shotsky wrote:There is no file sent
Then most likely you still have the wrong path configured. If your ftp user has a home of the CumulusWeb folder, then you shouldn't be specifying that as the path, because you're already in that folder when you log in. You probably need an empty path.
Is it possible to do this entire thing without using FTP?
Yes, of course; that's what this thread was about originally, it's how Glen is doing it. Turn off the two realtime FTP options, and specify the local and remote filenames on the files tab, and don't tick any of the boxes apart from Realtime.
Ok I set realtime.txt as the only file to be copied directly, and now all the others continue to use FTP, and realtime.txt is being copied and displayed. That is good enough.

It can be seen at: http://shotsky.gotdns.com/gauges.htm

Thanks for the help. I'll continue to 'fiddle around' with my ftp server to see if I can find a combination that works.
John
shotsky
Posts: 53
Joined: Tue 16 Nov 2010 2:44 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7-64 Ultimate
Location: Beaverton, Oregon

Re: Realtime Text File Not Generating On Start-up

Post by shotsky »

shotsky wrote:
steve wrote:
shotsky wrote:There is no file sent
Then most likely you still have the wrong path configured. If your ftp user has a home of the CumulusWeb folder, then you shouldn't be specifying that as the path, because you're already in that folder when you log in. You probably need an empty path.
Is it possible to do this entire thing without using FTP?
Yes, of course; that's what this thread was about originally, it's how Glen is doing it. Turn off the two realtime FTP options, and specify the local and remote filenames on the files tab, and don't tick any of the boxes apart from Realtime.
Ok I set realtime.txt as the only file to be copied directly, and now all the others continue to use FTP, and realtime.txt is being copied and displayed. That is good enough.

It can be seen at: http://shotsky.gotdns.com/gauges.htm

Thanks for the help. I'll continue to 'fiddle around' with my ftp server to see if I can find a combination that works.
John
Update:
It finally dawned on me that my FTP server has the concept of a 'home' folder for any given user, plus additional folders that can be assigned for further access. So in Cumulus Internet configuration, I needed to leave the 'Directory' blank. Once I set that up, it all works as expected.

BTW, for anyone that wants a really powerful FTP server for free, try the Fastream IQ/FTP Server. It also has a built-in web server, so it all works together in a single package.
http://www.fastream.com/iqwebftpserver.php

Thanks to all for the help,
John
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Realtime Text File Not Generating On Start-up

Post by gemini06720 »

shotsky wrote:BTW, for anyone that wants a really powerful FTP server for free, try the Fastream IQ/FTP Server. It also has a built-in web server, so it all works together in a single package.
John, I do not know if you already mentioned which server you were using... For a few years, I have been using XAMPP on a Windows 7 computer and the package also contains a very powerful and reliable FTP server named FileZilla which is regularly updated (last update was in July 2010) - the FileZilla group also produces an excellent FTP client.
shotsky
Posts: 53
Joined: Tue 16 Nov 2010 2:44 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7-64 Ultimate
Location: Beaverton, Oregon

Re: Realtime Text File Not Generating On Start-up

Post by shotsky »

gemini06720 wrote:
shotsky wrote:BTW, for anyone that wants a really powerful FTP server for free, try the Fastream IQ/FTP Server. It also has a built-in web server, so it all works together in a single package.
John, I do not know if you already mentioned which server you were using... For a few years, I have been using XAMPP on a Windows 7 computer and the package also contains a very powerful and reliable FTP server named FileZilla which is regularly updated (last update was in July 2010) - the FileZilla group also produces an excellent FTP client.
I tried FileZilla server before I got IQ/FTP. There's no comparison, if you you look closely. Much of what I require isn't available in FileZilla, such as more granular control of users, groups, better security, etc. Besides, the benefit of a built in web server makes it that much more attractive, since IIS doesn't support many users, and I don't want all the baggage needed to get Apache running. (Did that, once, and tired of the constant updates needed for the various parts that were sometimes incompatible with other pieces.) IQ has a basic web server, but supports php, perl, and many other support tools, IF you want them. It will even let you set up an http ftp if you want.
John
Locked