• Post Reply Bookmark Topic Watch Topic
  • New Topic

COS Query...URGENT..  RSS feed

 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
i m using COS to upload files to the server, but i hv a query :
>> how can i upload file to a specified users folder, not able to do it in the following way
String folder = req.getParameter("user");
String file="e:\\projects\\dir-job\\photo\\"+ user +"\\";
MultipartRequest multi=new MultipartRequest(req,file,5* 1024 * 1024);
is there any other way to accomplish this
tia
malhar
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is addressed in the FAQ:

http://www.servlets.com/cos/faq.html

Search that page for 'select'
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!