Closed davidhay45 closed 5 years ago
It's how it was initially implemented. However, the wsprnet maintainers requested to remove ALL_WSPR.TXT without checking if it was successfully uploaded. Here is a link to the corresponding commit: https://github.com/pavel-demin/red-pitaya-notes/commit/830d00c008c0920b9816c8f841aabac5fa6d57e0.
I can see that they do not want huge uploads after the wsprnet server has been down for a while, BUT it would be better to have a couple of retries built in to make it “temporary failure tolerant”. Difficult to do in a regular running script though.
Suggested enhancement
Description of the setup:
Description of the problem:
If the wsprnet.org website is slow or unavailable then the curl upload in decode-wspr.sh script times out and simply deletes the file to be uploaded.
To fix this in the decode-wspr.sh script replace
with
Then the spots file is not deleted but will be uploaded at the next or later attempt.