Java - Copy files on a network share
Posted on 2012-08-29
I have written an application that needs to place an xml file on a network share. I am comfortable with, and have written the code to generate the file h. However, I have not found a good method of writing that file to a network share. What I would like to do is take the file on the network share, rename it and over write the original every day. In my research I have found many options like socket programming, ipc channels etc... What would be best, does anyone have a code sample at which I could look? What would I need to address in the form of permissions?
Any help would be greatly appreciated.