But how do you know if you have all of that file downloaded? :). Suggestion: First bit of file is an integer which contains the file length. If you download less than 4 bytes, it's incomplete. If you download more than 4 bytes, you now know what the length of the file should be and can check it.

Cheers,
Nicholas Sherlock

GSE Sas wrote:

I'm very unlucky. At last I've added a file containing all file name and size. Obviously I must download this file before.

Tks too.
Robert


-- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Reply via email to