aspose 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
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: 12806
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How i create a folder on Remote host using servlet