I've successfully uploaded files, using jsp, on my local web server. I cannot, however, do so to my 3rd-party hosting site (godaddy.com) because I have a java.io.FilePermission problem.
I'm guessing that the fileOut.write class method, when trying to write a file to the server, isn't locating the proper directory where uploads are accetable. Problem is: I don't know how to direct it to the directory. When I upload it to my local web server, it saves it to c:\windows\system32 which is very weird.
Any ideas on how I can find out which directory "fileOut.write" writes to? Am I correct is thinking "fileOut" is the correct class to use?
I don't even know what the absolute path. How can I tell where the "php_uploads" directory is, in absolute terms?
If you mean just "/root", I tried that and got permission denied.
FYI,The permissions on the php_uploads directory is 770. Everything else that is created is 755 so it seems to me that this would be the place they would allow uploads. I just don't know how to allow the outside world to upload stuff as the owner or the group.