jazzIIIlove
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.
Any help?` Strinctly without a 3rd party library.
Regards.
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
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
http://docs.oracle.com/javase/7/docs/api/javax/xml/transform/Result.html
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:)
ASKER
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?
ASKER
Hi,
I didn't map the network drive. Is \\server\directory working just by specifying the path?
Br.
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