NOAA files will not FTP to Website
Posted: Thu 06 Jan 2022 10:52 am
I am running the latest version of CMX 3160 and have activated the NOAA reports for the first time
Have set up the FTP Options to the Reports directory on the website and although the reports are generated fine the following part of the MXDiags logfile shows the following
2022-01-06 00:00:00.214 Creating NOAA monthly report for 05 January 2022
2022-01-06 00:00:00.704 Saving monthly report as Reports\NOAAMO0122.txt
2022-01-06 00:00:00.706 Creating NOAA yearly report
2022-01-06 00:00:01.527 Saving yearly report as Reports\NOAAYR2022.txt
2022-01-06 00:00:01.528 NOAA reports will be uploaded at next web update
2022-01-06 00:00:02.050 If required the daily graph data files will be uploaded at next web update
2022-01-06 00:00:02.050 === Day reset complete
2022-01-06 00:00:02.050 Now recording data for day=6 month=1 year=2022
2022-01-06 00:00:02.050 Reset sunshine hours, yesterday = 0.55
2022-01-06 00:00:02.050 Writing yesterday.ini
2022-01-06 00:00:02.052 Written yesterday.ini
2022-01-06 00:00:02.139 DoLogFile: Writing log entry for 06/01/2022 00:00:00
2022-01-06 00:00:02.140 DoLogFile: log entry for 06/01/2022 00:00:00 written
2022-01-06 00:00:02.142 Writing today.ini, LastUpdateTime = 06/01/2022 00:00:00 raindaystart = 10.8 rain counter = 10.8
2022-01-06 00:00:02.308 BackupData: Creating backup folder backup\daily\20220106000000\
2022-01-06 00:00:02.501 Created backup folder backup\daily\20220106000000\
2022-01-06 00:00:10.805 FTP[Int]: Error uploading Reports\NOAAMO0122.txt to Reports/NOAAMO0122.txt : Reports/NOAAMO0122.txt: Permission denied.
2022-01-06 00:00:10.867 FTP[Int]: Error uploading Reports\NOAAYR2022.txt to Reports/NOAAYR2022.txt : Reports/NOAAYR2022.txt: Permission denied.
2022-01-06 00:00:15.001 Done uploading standard Data file
2022-01-06 00:00:41.634 Done uploading graph data files
2022-01-06 00:00:41.634 FTP[Int]: Uploading daily graph data files
2022-01-06 00:00:43.042 FTP[Int]: Done uploading daily graph data files
2022-01-06 00:00:43.095 FTP[Int]: Process complete
The permissons for the Reports file are identical to the other sub directories in folder structure and I have no problem with anything else and can FTP to this directory using the anonymous user from other software. My only thought is the / or \ in the relative path?
I have tried using just the default FTP directory by leaving it it blank in the FTP Options but this doesn't even attempt to FTP the report files!
This can be seen in the following
2022-01-04 00:00:00.369 Creating NOAA monthly report for 03 January 2022
2022-01-04 00:00:00.666 Saving monthly report as Reports\NOAAMO0122.txt
2022-01-04 00:00:00.668 Creating NOAA yearly report
2022-01-04 00:00:01.381 Saving yearly report as Reports\NOAAYR2022.txt
2022-01-04 00:00:01.382 NOAA reports will be uploaded at next web update
2022-01-04 00:00:01.865 If required the daily graph data files will be uploaded at next web update
2022-01-04 00:00:01.865 === Day reset complete
2022-01-04 00:00:01.865 Now recording data for day=4 month=1 year=2022
2022-01-04 00:00:01.865 Reset sunshine hours, yesterday = 2
2022-01-04 00:00:01.865 Writing yesterday.ini
2022-01-04 00:00:01.867 Written yesterday.ini
2022-01-04 00:00:01.984 DoLogFile: Writing log entry for 04/01/2022 00:00:00
2022-01-04 00:00:01.985 DoLogFile: log entry for 04/01/2022 00:00:00 written
2022-01-04 00:00:01.986 Writing today.ini, LastUpdateTime = 04/01/2022 00:00:00 raindaystart = 10.6 rain counter = 10.6
2022-01-04 00:00:02.081 BackupData: Creating backup folder backup\daily\20220104000000\
2022-01-04 00:00:02.226 Created backup folder backup\daily\20220104000000\
2022-01-04 00:00:06.883 Done uploading standard Data file
2022-01-04 00:00:08.640 Done uploading graph data files
2022-01-04 00:00:08.640 FTP[Int]: Uploading daily graph data files
2022-01-04 00:00:10.193 FTP[Int]: Done uploading daily graph data files
2022-01-04 00:00:10.254 FTP[Int]: Process complete
Any ideas welcome - what have I missed?
Regards
George
Have set up the FTP Options to the Reports directory on the website and although the reports are generated fine the following part of the MXDiags logfile shows the following
2022-01-06 00:00:00.214 Creating NOAA monthly report for 05 January 2022
2022-01-06 00:00:00.704 Saving monthly report as Reports\NOAAMO0122.txt
2022-01-06 00:00:00.706 Creating NOAA yearly report
2022-01-06 00:00:01.527 Saving yearly report as Reports\NOAAYR2022.txt
2022-01-06 00:00:01.528 NOAA reports will be uploaded at next web update
2022-01-06 00:00:02.050 If required the daily graph data files will be uploaded at next web update
2022-01-06 00:00:02.050 === Day reset complete
2022-01-06 00:00:02.050 Now recording data for day=6 month=1 year=2022
2022-01-06 00:00:02.050 Reset sunshine hours, yesterday = 0.55
2022-01-06 00:00:02.050 Writing yesterday.ini
2022-01-06 00:00:02.052 Written yesterday.ini
2022-01-06 00:00:02.139 DoLogFile: Writing log entry for 06/01/2022 00:00:00
2022-01-06 00:00:02.140 DoLogFile: log entry for 06/01/2022 00:00:00 written
2022-01-06 00:00:02.142 Writing today.ini, LastUpdateTime = 06/01/2022 00:00:00 raindaystart = 10.8 rain counter = 10.8
2022-01-06 00:00:02.308 BackupData: Creating backup folder backup\daily\20220106000000\
2022-01-06 00:00:02.501 Created backup folder backup\daily\20220106000000\
2022-01-06 00:00:10.805 FTP[Int]: Error uploading Reports\NOAAMO0122.txt to Reports/NOAAMO0122.txt : Reports/NOAAMO0122.txt: Permission denied.
2022-01-06 00:00:10.867 FTP[Int]: Error uploading Reports\NOAAYR2022.txt to Reports/NOAAYR2022.txt : Reports/NOAAYR2022.txt: Permission denied.
2022-01-06 00:00:15.001 Done uploading standard Data file
2022-01-06 00:00:41.634 Done uploading graph data files
2022-01-06 00:00:41.634 FTP[Int]: Uploading daily graph data files
2022-01-06 00:00:43.042 FTP[Int]: Done uploading daily graph data files
2022-01-06 00:00:43.095 FTP[Int]: Process complete
The permissons for the Reports file are identical to the other sub directories in folder structure and I have no problem with anything else and can FTP to this directory using the anonymous user from other software. My only thought is the / or \ in the relative path?
I have tried using just the default FTP directory by leaving it it blank in the FTP Options but this doesn't even attempt to FTP the report files!
This can be seen in the following
2022-01-04 00:00:00.369 Creating NOAA monthly report for 03 January 2022
2022-01-04 00:00:00.666 Saving monthly report as Reports\NOAAMO0122.txt
2022-01-04 00:00:00.668 Creating NOAA yearly report
2022-01-04 00:00:01.381 Saving yearly report as Reports\NOAAYR2022.txt
2022-01-04 00:00:01.382 NOAA reports will be uploaded at next web update
2022-01-04 00:00:01.865 If required the daily graph data files will be uploaded at next web update
2022-01-04 00:00:01.865 === Day reset complete
2022-01-04 00:00:01.865 Now recording data for day=4 month=1 year=2022
2022-01-04 00:00:01.865 Reset sunshine hours, yesterday = 2
2022-01-04 00:00:01.865 Writing yesterday.ini
2022-01-04 00:00:01.867 Written yesterday.ini
2022-01-04 00:00:01.984 DoLogFile: Writing log entry for 04/01/2022 00:00:00
2022-01-04 00:00:01.985 DoLogFile: log entry for 04/01/2022 00:00:00 written
2022-01-04 00:00:01.986 Writing today.ini, LastUpdateTime = 04/01/2022 00:00:00 raindaystart = 10.6 rain counter = 10.6
2022-01-04 00:00:02.081 BackupData: Creating backup folder backup\daily\20220104000000\
2022-01-04 00:00:02.226 Created backup folder backup\daily\20220104000000\
2022-01-04 00:00:06.883 Done uploading standard Data file
2022-01-04 00:00:08.640 Done uploading graph data files
2022-01-04 00:00:08.640 FTP[Int]: Uploading daily graph data files
2022-01-04 00:00:10.193 FTP[Int]: Done uploading daily graph data files
2022-01-04 00:00:10.254 FTP[Int]: Process complete
Any ideas welcome - what have I missed?
Regards
George