Quote:
Originally Posted by Rouzbeh1
the file types i have are mostly (99.5%) .zip files which are in vb attachments table.
the other file types are pdf and wmv. these both are on the table too.
about the allowance thing, there are 2 allowance systems for attachments. one of them is for vb attachments and the other one is from LDM. but i don't know which one was meant by itsblack....
my suggestion: all files get a file size allocated when submitting entry, would it be possible to read this size when a user clicks to download that file? just like hit recording. it's just one more query. (as far as i can understand!!)  but you are the specialist
one more thing, does LDM reset the bytes transfered when i delete hits for a period of time? i haven't tested this...
|
The code generally knows the size - it just wasn't storing the bytes transferred in the downloads table unless it actively managed the transfer itself. I'm taking another look at that. itsblack was also talking about the LDM system.
Yes, LDM resets the bytes transferred when you clean up the hits table.