javascript - java - checking file content before uploading to server -


i have got situation now.

i need develop webpage user can select file upload , before uploading file server need check first few lines of file whether data valid or not , if data valid upload file, if not through error message.

the file text file.

thanks,

sandeep

html/javascript not offer way of reading contents of local file. must either upload , check in server.

if want client side check, must build signed applet(or activex) run in webpage , handle upload instead of using plain html.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -