I’m using the HTTP download to get files from the RPi (AQI, lightning). The problem is that HTTP download does not overwrite the existing file but creates a new file(s) instead.
Example: download a text file named “file.txt” every minute.
In the target directory, I’d get:
file.txt
file.txt.1
file.txt.2
file.txt.3
… and so on
I have to use a batch script that periodically deletes everything so I get only the “file.txt” which is used with WD.
Is there an option / alternative solution so the target file is simply overwritten? Is this a Windows “feature” or?