sockets help - 08/09/10 04:42 PM
Hi there,
Say I want to use sockets to download a text file like versions.txt what is the most reliable way to check the file has completed downloading?
I can use sockets to read the file etc, but want a reliable way to check that the download has completed!
I don't want to use the sockclose event as the socket in theory could close before the file has been downloaded. I guess I am looking for something similar to 200 ok response etc.
Any help or insights would be greatly appreciated.
Regards
Say I want to use sockets to download a text file like versions.txt what is the most reliable way to check the file has completed downloading?
I can use sockets to read the file etc, but want a reliable way to check that the download has completed!
I don't want to use the sockclose event as the socket in theory could close before the file has been downloaded. I guess I am looking for something similar to 200 ok response etc.
Any help or insights would be greatly appreciated.
Regards