In order to find out the length (size) of the file before downloading, you have to read the Content-Length header in the HTTP response, it will provide the size of the file.
Source: http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
In order to find out the length (size) of the file before downloading, you have to read the Content-Length header in the HTTP response, it will provide the size of the file.
Source: http://en.wikipedia.org/wiki/List_of_HTTP_header_fields