writing a file on network drive java less painful way

I need to write a file to a network drive with Java. \\vsv11234\site$\Foo\Baz

Any help?` Strinctly without a 3rd party library.

Regards.
LVL 12
jazzIIIloveAsked:
Who is Participating?
 
CEHJCommented:
Yes, there should be no problem unless authentication is necessary. It would reduce complexity if you mapped the network drive first
0
 
CEHJCommented:
The niceties are with the OS. To Java, it's just another file. If that's not the case, then you haven't set it up properly
0
 
jazzIIIloveAuthor Commented:
Yes, you are right but do you think xml can be serialized to a network drive with Result object without using 3rd party library?
http://docs.oracle.com/javase/7/docs/api/javax/xml/transform/Result.html

Regards
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
CEHJCommented:
:)
0
 
jazzIIIloveAuthor Commented:
There was actually a problem even i created the folder in public folder setup. It simply couldn't create it.. Any sample codes?
0
 
CEHJCommented:
Did you map the network drive as i suggested?
0
 
jazzIIIloveAuthor Commented:
Hi,

I didn't map the network drive. Is \\server\directory working just by specifying the path?

Br.
0
 
CEHJCommented:
As i said, map the network drive first. Easy to google
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.