Closed gallandarakhneorg closed 7 years ago
The convetFileToURL function uses the absolute path of the given file for creating the URL. It means that new File("./myfile.txt") cannot be converted in order to obtain file:./myfile.txt.
convetFileToURL
new File("./myfile.txt")
file:./myfile.txt
The
convetFileToURL
function uses the absolute path of the given file for creating the URL. It means thatnew File("./myfile.txt")
cannot be converted in order to obtainfile:./myfile.txt
.