File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
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: 12675
    
    5
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://aspose.com/file-tools
 
subject: How i create a folder on Remote host using servlet
 
Similar Threads
Connecting to a remote servlet from an unsigned applet
Writing a file from an Applet
Saving to file from Applet
EJB3 - dependency injection fails?
create folder on remote system