I am trying to refer to a location on my computer, however Java is telling me that I have the wrong syntax.
Is this line correct?
File newlyUploadedFile = new File("D:\\" + fileName);
The thing is the file gets uploaded correctly to the location I want it to go to, but I get the error:
java.io.IOException: The filename, directory name, or volume label syntax is incorrect