File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Directory Creation On Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Directory Creation On Server" Watch "Directory Creation On Server" New topic

Directory Creation On Server

vikas malviya

Joined: Aug 06, 2009
Posts: 14
The thing deployed application does is, it allows the user of the web-app to create a folder on the server with a name of his/her choice and upload his/her files into that folder. Here is what I am getting as Exception

Caught Exception: access denied ( /var/chroot/home/content/b/r/i/bringlifeto/html/MyDemoDirApp/demodir/testdir write)

Can any body explain me this issue and provide me a correct way to implement it.

Vikas Malviya
Smitesh Shinde
Ranch Hand

Joined: Feb 16, 2008
Posts: 45

Firstly look out if you have the write permissions for the folder you are trying to upload into
I agree. Here's the link:
subject: Directory Creation On Server
jQuery in Action, 3rd edition