File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Multipart Upload - where does my file go? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Multipart Upload - where does my file go?" Watch "Multipart Upload - where does my file go?" New topic
Author

Multipart Upload - where does my file go?

Dave Donohoe
Ranch Hand

Joined: May 16, 2000
Posts: 73
Hi all,
I have a servlet that uses Multipart requests to upload files.
I am running tomcat3.2 as my webserver. I want to upload a file from my C: drive to the Web Server. I create a multipart request in the servlet like so -
MultipartRequest multi = new MultipartRequest(req, "e:\\temp", 5 * 1024 * 1024);
However, when I run the servlet, it does not put the file into the folder I specified......what am I doing wrong?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Multipart Upload - where does my file go?
 
Similar Threads
Multipart Upload - where does my file go?
File Upload using HTML + Servlet
com. oreilly. servlet. MultipartRequest error
uploading servlet
how do i get value from input type file in servlet?