My Java application requires access to a large excel file (1GB+ in size) saved on remote shared folder. I\'m using SmbFile to get the file with authenticati
jcifs.smb.SmbFile smbFile = new SmbFile("smb://host/fileShare/.../file");
java.io.File javaFile = new File(smbFile.getUncPath());
System.out.println(smbFile);
System.out.println(javaFile);
Output
smb://host/fileShare/.../file
\\host\fileShare\...\file
javadoc of smbFile.getUncPath() says
Retuns the Windows UNC style path with backslashs intead of forward slashes.
I am using jcifs-1.3.17.jar on Windows 10.