This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes How i create a folder on Remote host using servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "How i create a folder on Remote host using servlet" Watch "How i create a folder on Remote host using servlet" New topic
Author

How i create a folder on Remote host using servlet

Ram kanana
Ranch Hand

Joined: Apr 13, 2006
Posts: 34
Is this possible to create a folder dynamically on remote host and placed files on it using servlet.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12265
    
    1
A servlet can use normal Java code for creating directories and files - use java.io.File class just like you would in a desktop application.
However, security restrictions on the server may prevent or limit directory and file creation. Java provides for very fine-grain control over what a servlet is allowed to do, and of course the operating system will also impose restrictions.
Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How i create a folder on Remote host using servlet
 
Similar Threads
create folder on remote system
Saving to file from Applet
EJB3 - dependency injection fails?
Connecting to a remote servlet from an unsigned applet
Writing a file from an Applet