Hi
I am writing a web application that will allow people that sign up to upload certain files. The amount of files a user uploads will average between 250 and 400 with the total size of all these files coming to between 30 and 50 MB. I then realised that the majority of the files that each user uploads will be the same with only mabye 2Mb of unique files per user. This would be a massive saving of space if I could only store one copy of each file uploaded and referenced all the files that a user owns in the database.What would be the best way to check for differneces in the files being uploaded so say two files are uploaded called core.dll but only differ by 1 byte? And what would be the best method to achieve what I need?
Thanks
John.
Start Free Trial