Good, I am accessing files that I have in a shared folder in a network drive, and not to mount the disk in each pc I create an object of the File class in the following way:
File f = new File("file://190.10.10.240/Cedulas/").
I have access to the files, when I open the relevant code it opens and I can work with them, but when I want to rename the file it does not. Previously he had them like this:
File f = new File("S:/190.10.10.240/Cedulas/");
and the rename I did it without problem
f.renameTo(f2);
Any idea why?