Hi I wrote a script so I can automatically download from hotfile using LWP::useragent. I've managed to get the file to download properly. How do I get the file size of the file before downloading? I need this to display hot much of the file has been downloaded.
|
feedback
|
|
Here is a short snippet that does this. http://www.bigprism.com/cgi-perl-snippets/get-file-size-over-http.html | |||
|
feedback
|