Oh, I see... if the filesize is 0, we (presumably) couldn't connect, otherwise we got some of the file, but it died mid-way through for whatever reason...
That's perfect for my application! Thanks a pant-load!!
And thanks for the note about on:ERROR... I'll keep that in mind in the future.