I need to programmatically save files (and create directories) to another server. How I can achieve this? In the other server there is a shared directory(write access), and want to write files here. I use
FileOutputStream file = new FileOutputStream(fullFileName, false);
Where fullFileName
is
////SRV0105-FSACL01/SharedDirectory/directoriesCreatedByMe/filename.xls
I think server path is written not correct, may here some extra slashes?
EDIT: Operation fails on dir.mkdirs() command (this command return false);
"\"?