This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Do a search on "upload" on JavaRanch and you will find several threads on this already. The concensus from most people (including myself) is to use the com.oreilly.servlet... packages found at Servlets.com and described in Jason Hunter's book. Kyle ------------------ Kyle Brown, Author of Enterprise Java (tm) Programming with IBM Websphere See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
there is no package like ftp or that can upload file.but u can achieve your objective using scoket programming for uploading files and trusted applet that can read files from client. khurram mirza
Joined: Aug 10, 2001
Khurram, Your applet solution will also work, but your post isn't quite true. There is a standard HTML control for multipart file upload that you can use to upload files through HTTP. The com.oreilly.servlet classes mentioned above show how to correctly parse the output of the HTTP stream and rejoin it into a file -- you can use them to upload files of any type. Kyle ------------------ Kyle Brown, Author of Enterprise Java (tm) Programming with IBM Websphere See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.