Im considering offering a service that allows users to upload a file and then charges by the amount of bandwidth used by clients downloading. the only way i can think of implementing this is by examing the log files for the bytes transferred figures. Is there a better way?
Yes, you can add bytes received and bytes sent to the logs. If I remember correctly, it is accurate (eg, a partially retreived file will only show the actual bytes sent rather than the total file size.