This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create a shared directory on a remote machine

 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way through which i can create a shared directory on a remote machine through a J2EE application?
 
Santhosh Kumar
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Santhosh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic