I'm uploading a text file and writing to my hard disk (C:\Documents and Settings\ravurima\Desktop\PDP) somthing like this .
String fileStorePath = "C:\\Documents and Settings\\ravurima\\Desktop\\ACHFIles\\"+
Now i need to write the file to a shared folder(with write permission to a particular user) in some other system. The path of the folder in external system is something like this :: \\10.45.132.191\ACHFiles, and the folder is password protected.
How can i write to the ACHFiles directory of external system programatically using Java?. I'm not sure how to connect to that system and write to that directory from Java?.
Code snippest would be halpful..