How to write the path to linux server when uploading?
posted 13 years ago
I have made a web form to upload images. When running the upload program on my local computer I use this path and it works: String UPLOAD_PATH = "c://myFiles/Images.jpg" When running the uploading program on the web hotel ( a linux server ) I use this path and it doesn�t work: String UPLOAD_PATH = "/home/the/full/path/Images.jpg" I got an IO Error while write to file : java.io.FileNotFoundException. Is it the right way to start with "/home/.." or do I have to tell the program the IP address or what is wrong?