File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes Create a shared directory on a remote machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Create a shared directory on a remote machine" Watch "Create a shared directory on a remote machine" New topic
Author

Create a shared directory on a remote machine

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Is there any way through which i can create a shared directory on a remote machine through a J2EE application?


[My Blog] [JavaRanch Journal]
Santhosh Kumar
Ranch Hand

Joined: Nov 07, 2000
Posts: 242
Hi,

The power of the Java is limited to the API exposed by the underlying JVM. Don't think standard JDK provides any features of this sort. If you want to do this, you would have to write a JNI code to expose the Win32 function which actually creates a shared directory in remote m/c and then use it in Java with native keyword.

my 2 cents.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Thanks Santhosh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create a shared directory on a remote machine