Meaningless Drivel is fun!*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 10067
    
163

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: 10067
    
163

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