- String testpath1 = "smb://host_address/File_Folder";
- File testFile1 = new File(testpath1 + fi.getName());
- fi.write(testFile1);
This code in Java to read and write file in Linux server. However, after creating file(at line 2), file path becomes smb:/host_address/File_Folder/File_Name
.
I want the file path as smb://host_address/File_Folder/File_Name
.
Please help!