Go4Expert

Go4Expert (http://www.go4expert.com/)
-   JavaScript and AJAX (http://www.go4expert.com/forums/javascript/)
-   -   FileUpload file validation through JavaScript (http://www.go4expert.com/forums/fileupload-file-validation-javascript-t1068/)

prashantSum 26Jul2006 20:05

FileUpload file validation through JavaScript
 
Hi All,
When we try to upload file through <input type ='file' />, it does not check whether the file really exists on the local file system, even if we give some arbitrary value like 'C:\asdf', it will upload it with 'asdf' as file name with no content.

So is there any way to check on the client side with java script (I think we can do it with ActiveX Control but I want to know whether is it possible through JavaScript) whether the file really exists on the client side local system, so that if it is not present I can stop sending the request to the server.

shabbir 27Jul2006 11:03

Re: FileUpload file validation through JavaScript
 
Duplicate of FileUpload file validation through JavaScript. Thread closed.

Please do not post in Article section multiple times as that need Admin approval. Use Queries and discussion section instead


All times are GMT +5.5. The time now is 18:01.