Retreiving file size before download

I believe the headers send by the HTTP server tell you the size of the file using the header 'content-length', so you'll probably need to make another connection using a HTTP Request or use a socket to retrieve the headers.
 
Back
Top