File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes uploadling file in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "uploadling file in jsp" Watch "uploadling file in jsp" New topic

uploadling file in jsp

tilak kumar

Joined: Feb 16, 2005
Posts: 15
how to scan a file and upload it if the file is not infected
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

You can't scan something on a user's machine.

You would have to upload, then scan.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by tilak kumar:
how to scan a file and upload it if the file is not infected

Very secure thinking. But as Ben said, "can't".
It is sorta covered in the JavaRanch Style Guide.
subject: uploadling file in jsp
Similar Threads
WA #1.....word association
java io
Creating a file by giving relative path
performance issues with file read and write
Struts FormFile (parsing .csv files)