Quote:
Originally Posted by hopester
I just checked your site, the one thing that jumped out at me was the file sizes shown, in my version no file sizes are shown. I'll pm you a link.
Thanks for your help
|
Tell me - have you set you your links as relative or absolute urls? I suspect you've entered full urls in the form
http://www.site.com/directory/file. When you use that format, the code bypasses the file size check (because it assumes that it will have to read the entire file to find out how big it is - it's not smart enough to recognise that the file is on the local file system).
If you use a relative url, e.g /directory/file, then the code simply checks the file size and reports it to the user. THis also makes it possible to give the proper progress bar during the download.