@darius this is great, thanks for sharing it. Funnily enough I learned the value of a well-placed retry loop at the same gig which relied heavily on FTP, because noisy failures for transient errors meant being paged in the middle of the night.