Page 1 of 1

ftp realtime.txt - realtimegauges.txt

Posted: Tue 30 Jan 2024 10:09 am
by raimaker
Buongiorno a tutti, ho impostato la seguente funzione di intervallo per invio realtime.txt e realtimegauges.txt
ma sul sito non si aggiorna.
Tutti gli altri file vengono aggiornati.
Cosa dovrei controllare ?

Re: ftp realtime.txt - realtimegauges.txt

Posted: Tue 30 Jan 2024 11:35 am
by freddie
Translation:
Good morning everyone, I have set the following interval function for sending realtime.txt and realtimegauges.txt
but it doesn't update on the site.
All other files are updated.
What should I check?

P.S: apologies for deleting this post yesterday - I hit the wrong button!

Re: ftp realtime.txt - realtimegauges.txt

Posted: Tue 30 Jan 2024 11:47 am
by ConligWX
you would need to enable ftp logging, and possibly debugging then after about 10 minutes grab the \mxdiag log files (the latest log file and the ftp one) and then post them here so we can diagnose.

Re: ftp realtime.txt - realtimegauges.txt

Posted: Fri 02 Feb 2024 11:28 am
by raimaker
Here I am, I attached the log file, masking only the site domain, I don't know if I could publish it.
Also, when using Raspberry, how should the file path be written? I've tried many ways but it doesn't upload.
Thank you all in advance for your cooperation

Re: ftp realtime.txt - realtimegauges.txt

Posted: Fri 02 Feb 2024 1:45 pm
by PaulMy
Hi,
First, for realtime.txt (the file automatically produced by CumulusMX if you have enabled it in settings) does not need to be processed during the extra web files upload so Process does not to be ticked.
how should the file path be written?
Is www.NOMESITO.it part of the path to your remote destination? Often it would be public_html/{your remote folder name}/realtime.txt. A screen capture of your FileZilla logged-in page showing Remote site: would be helpful.

Enjoy,
Paul

Re: ftp realtime.txt - realtimegauges.txt

Posted: Fri 02 Feb 2024 2:52 pm
by raimaker
www.NOMESITO.it is this http://raimaker.altervista.org/meteo

which settings do I need to enable correctly to send realtime.txt

Re: ftp realtime.txt - realtimegauges.txt

Posted: Fri 02 Feb 2024 3:17 pm
by PaulMy
Hi,
which settings do I need to enable correctly to send realtime.txt
Settings > Internet settings > Interval Configuration > Real Time Interval Settings
The realtime.txt and realtimegauges.txt do not need to be added to Extra web files as they are uploaded through those settings to /meteo/realtime.txt, however if you want to upload them to another specific location then possibly public_html/{your specific location}/realtime.txt

Enjoy,
Paul

Re: ftp realtime.txt - realtimegauges.txt

Posted: Fri 02 Feb 2024 3:50 pm
by raimaker
here are the interval configuration settings, but it does not upload the relatime.txt and realgauges.txt files

Re: ftp realtime.txt - realtimegauges.txt

Posted: Fri 02 Feb 2024 4:36 pm
by PaulMy
Hi,
As ConligWX posted, turn on FTP logging for a while, then check the log files to see if any/what errors are logged.
Possibly your host does not permit such FTP? Can you try the PHP uploads instead of FTP?

Enjoy,
Paul

Re: ftp realtime.txt - realtimegauges.txt

Posted: Sat 03 Feb 2024 11:52 am
by raimaker
Here is the error on the log file

2024-02-03 11:49:00.336 DoLogFile: log entry for 03/02/2024 11:49:00 written
2024-02-03 11:49:00.341 Writing today.ini, LastUpdateTime = 03/02/2024 11:49:00 raindaystart = 0 rain counter = 0
2024-02-03 11:49:17.604 FTP[5]: Error uploading meteo/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2024-02-03 11:49:17.604 FTP[5]: Inner Exception: Code: 500 Message: Comando sconosciuto
2024-02-03 11:49:17.723 FTP[5]: Error uploading meteo/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2024-02-03 11:49:17.723 FTP[5]: Inner Exception: Code: 500 Message: Comando sconosciuto
2024-02-03 11:49:17.836 FTP[5]: Error uploading /meteo/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2024-02-03 11:49:17.836 FTP[5]: Inner Exception: Code: 500 Message: Comando sconosciuto
2024-02-03 11:49:47.597 FTP[6]: Error uploading meteo/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2024-02-03 11:49:47.598 FTP[6]: Inner Exception: Code: 500 Message: Comando sconosciuto
2024-02-03 11:49:47.724 FTP[6]: Error uploading meteo/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2024-02-03 11:49:47.725 FTP[6]: Inner Exception: Code: 500 Message: Comando sconosciuto
2024-02-03 11:49:47.845 FTP[6]: Error uploading /meteo/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2024-02-03 11:49:47.845 FTP[6]: Inner Exception: Code: 500 Message: Comando sconosciuto
2024-02-03 11:49:49.103 FTP[Int]: Process complete

Re: ftp realtime.txt - realtimegauges.txt

Posted: Sat 03 Feb 2024 1:04 pm
by water01
This is saying "unknown Command" which means that in my opinion that your ISP is no longer supporting standard FTP and needs a secure connection. I would ring them to check and then if they are using secure FTP switch to SFTP or FTPS or use the upload.php supplied in the install.

Re: ftp realtime.txt - realtimegauges.txt

Posted: Sat 03 Feb 2024 2:11 pm
by mcrossley
We really need to see the FTP log file as well to be sure.

Re: ftp realtime.txt - realtimegauges.txt

Posted: Sat 03 Feb 2024 2:18 pm
by freddie
If you're getting a 500 response code then that implies an FTP connection has been made. Could this be another one not supporting particular FTP commands? Like Mark says, really need to see the FTP log.

Re: ftp realtime.txt - realtimegauges.txt

Posted: Sat 03 Feb 2024 5:22 pm
by PaulMy
Hi,
:)
you would need to enable ftp logging
turn on FTP logging for a while
We really need to see the FTP log file as well to be sure
really need to see the FTP log.
Enjoy,
Paul: