Is there anyway to get a size of a file that is in internet?
I mean to get the same effect as filelen does but from internet.
Printable View
Is there anyway to get a size of a file that is in internet?
I mean to get the same effect as filelen does but from internet.
That information comes in the "HTTP Header".
Do all web servers send that header though?
Yes, but some send without certin info just depends on server config.
Code:Request.TotalBytes
I've downloaded from some servers I'm pretty sure were running some version of Unix where IE did not know the file size until the download was complete.