What I really want to do is check if the same file exists before or after uploading the file, is there a efficient way to do it?
Well, that’s it!
Edit: Actually it doesn’t matter if its after or before, as long as it can detect dups.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t check before uploading the file.
Once it’s uploaded you could compare the file sizes then the MD5s of the files to check if they are the same.