It seems like I have read something here about 0 byte files and remote renaming, but I can’t find it. I feel I searched and reread a bunch of posts trying to solve this myself.
I am running the latest consolewd on a Pi3+ running piOS Bullseye. I notice the other day that I am getting intermittent FTP failures of clientraw.txt, testtags.php, customclientraw.txt, etc. On the server, I am seeing the file length be zero bytes. It is usually not more than 2 of them at a time. Sometimes all files are there correctly.
On the pi, the files look created properly in the consolewdfiles directory.
The FTP portion of config.txt is below:
FTP server=xxx
FTP username=xxx
FTP password=xxx
FTP port=21
FTP remote dir=/public_html/
FTP use curl=N
FTP use passive=N
FTP use remote file rename=
FTP time interval=60
FTP use curlssh=N
FTP the custom file=Y
Save logfile=Y
On the pi, the “ftplogfull.txt” is 0 bytes and was last changed on 7/6/2021. I am not sure if that is supposed to be a log for cronftpreal or not. Also not sure if I created that when I was troubleshooting testtags.php not getting updated back in July.
I do not see anything on the webhosting side with respect to errors in the ftplog.
I am starting to think what I posted here: http://discourse.weather-watch.com/t/69871 might be related to empty files as I am seeing more than just Undefined variable and Undefined offset in ajax-gizmo.php and ajax-dashboard.php in the error.log file on hosting provider. I think I was chasing the wrong thing last month.
Thanks for any insight.