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

delphi - ESC/P programming! -

c++ - error: use of deleted function -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -