How to write the path to linux server when uploading?
Jeppe Sommer
Ranch Hand
Joined: Jan 07, 2004
Posts: 263
posted
0
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?
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: How to write the path to linux server when uploading?