Link to home
Start Free TrialLog in
Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden

asked on

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.
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Avatar of jazzIIIlove

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:)
There was actually a problem even i created the folder in public folder setup. It simply couldn't create it.. Any sample codes?
Did you map the network drive as i suggested?
Hi,

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

Br.
As i said, map the network drive first. Easy to google