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
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
Dayfile.txt not being uploaded
-
uncle_bob
- Posts: 505
- Joined: Wed 17 Aug 2011 2:58 pm
- Weather Station: WeatherDuino Pro2
- Operating System: 2008
- Location: Canberra
Re: Dayfile.txt not being uploaded
I'm a bit late to the party, but I use and recommend the NcFTP command line ftp client. It's so easy.
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather

Conder, Canberra Weather
- Super-T
- Posts: 906
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Dayfile.txt not being uploaded
Not quite all good.
Running the batch file c:\cumulus\ftp-data\ftp2weather.bat (ftps -a -s:daily.ftp) works fine when done manually but not when attempting to run within Cumulus in "Internet Configuration".
Am I missing a parameter or something else that it doesn't run automatically once a day?
Running the batch file c:\cumulus\ftp-data\ftp2weather.bat (ftps -a -s:daily.ftp) works fine when done manually but not when attempting to run within Cumulus in "Internet Configuration".
Am I missing a parameter or something else that it doesn't run automatically once a day?
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Dayfile.txt not being uploaded
If you look in the diags file, it should show the command being executed, and any failures returned by Windows.
Steve
- 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: Dayfile.txt not being uploaded
Terry does your script either change the path to the correct working directory, or use full paths for the files? I suspect (never checked) that Cumulus will default the current path to the system folder.
- Super-T
- Posts: 906
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Dayfile.txt not being uploaded
Looks like it ran it:-
28/08/2012 00:00:00.311 : Executing external program: c:\cumulus\ftp-data\ftp2weather.bat params:
28/08/2012 00:00:00.436 : Creating backup folder C:\Cumulus\backup\daily\20120828000000\
28/08/2012 00:00:00.467 : === Day reset complete
FTP File is:-
open linux11.digiweb.net.nz
janterconz
xxxxxxxx
cd www/weather/data
put c:\cumulus\data\dayfile.txt
bye
28/08/2012 00:00:00.311 : Executing external program: c:\cumulus\ftp-data\ftp2weather.bat params:
28/08/2012 00:00:00.436 : Creating backup folder C:\Cumulus\backup\daily\20120828000000\
28/08/2012 00:00:00.467 : === Day reset complete
FTP File is:-
open linux11.digiweb.net.nz
janterconz
xxxxxxxx
cd www/weather/data
put c:\cumulus\data\dayfile.txt
bye
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Dayfile.txt not being uploaded
And no error reported. But I don't know whether all errors from within a batch file (e.g. a path problem as Mark suggests) would get reported back to Cumulus. You could try changing your batch file to use full path names for the ftps command and the daily.ftp parameter.
Steve
- Super-T
- Posts: 906
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Dayfile.txt not being uploaded
I was just reading the wiki and I see you do it slightly differnetly but I have tried the wiki way and that didn't work but I will try again overnight.
I just assumed that as the bat file worked manually it would run from Cumulus. Even tried lowercase everything as I've been caught by that before.
Tried the wiki way and get upload errors.
I am using MoveIt to get the FTPS so maybe that makes a difference?
Maybe I should just try it in the Scheduler.
I just assumed that as the bat file worked manually it would run from Cumulus. Even tried lowercase everything as I've been caught by that before.
Tried the wiki way and get upload errors.
I am using MoveIt to get the FTPS so maybe that makes a difference?
Maybe I should just try it in the Scheduler.
Last edited by Super-T on Tue 28 Aug 2012 9:38 am, edited 1 time in total.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Dayfile.txt not being uploaded
Note that for testing purposes you could put the command in the 'program' box, rather than having to wait until midnight for each run.
Steve
- Super-T
- Posts: 906
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Dayfile.txt not being uploaded
True 
Tried that but nothing uploaded.
I upload at 5 minutes.
I'll try the scheduler overnight.
Tried that but nothing uploaded.
I upload at 5 minutes.
I'll try the scheduler overnight.
- Super-T
- Posts: 906
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Dayfile.txt not being uploaded
Seemd to work OK overnight. I added the first line of the batch file
cd\cumulus\ftp-data\
ftps -a -s:daily.ftp
pause
Even though Cumulus was pointed at the right location, it didn't find the ftp file. Same applied with the Task Scheduler as that was in c:\windows\system32 directory.
The pause is just to leave the dos window open for me to see what happened and will remove now.
Looks like the path was the problem....thanks all
cd\cumulus\ftp-data\
ftps -a -s:daily.ftp
pause
Even though Cumulus was pointed at the right location, it didn't find the ftp file. Same applied with the Task Scheduler as that was in c:\windows\system32 directory.
The pause is just to leave the dos window open for me to see what happened and will remove now.
Looks like the path was the problem....thanks all