• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

COS Query...URGENT..

 
Author
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is addressed in the FAQ:

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

Search that page for 'select'
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic