This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Spring and the fly likes Spring Multipart upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Multipart upload" Watch "Spring Multipart upload" New topic
Author

Spring Multipart upload

samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
Hello Ranchers
I am having a requirement to upload a large chunk of files through HTTP. For that I am planning to use multipart upload.
Although I am not sure whether we can store the files on some network machine once it reaches to Controller/servlet ? (From Controller/servlet to some network machine)
If its possible can someone please let me know the sample code/ API for the same ?
Any link , white paper will greatly be appreciated.
Thanks in advance
Samir
Salil Vverma
Ranch Hand

Joined: Sep 06, 2009
Posts: 254

Hey Samir,

Once you have the file available in controller, you can copy the file in network in many ways. Following links provides some of the ways to copy file to network -
http://salilstock.blogspot.in/2012/12/copying-resources-to-and-from-windows.html


Regards
Salil Verma
 
wood burning stoves
 
subject: Spring Multipart upload