wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 9956
    
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: 9956
    
163

Thanks Santhosh
 
Don't get me started about those stupid light bulbs.
 
subject: Create a shared directory on a remote machine
 
Similar Threads
How to delete a directory in unix box using ant
remote copy file
Reading and Writing Files In Ejb
Create a directory in a mapped location
copy file between 2 different machine