html - Multiple file upload with md5 check before upload -


i building webpage need multi-file upload implementation can hash file before uploading server.

the idea users can upload files may or may not exist on server already. save bandwidth want hash file before uploading server, send hash via post, , proceed upload if server responds not have file hash.

are there free flash-based implementations (i suppose javascript won't able load file , hash it) may work me?

you can read files in javascript, filereader api in html5 job you.

next, feed base64 string b64_md5() function provided library: http://pajhome.org.uk/crypt/md5/instructions.html

note time consuming if file big. might need webworkers conculation background.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -