Page 1 of 1

Missing "uploaded" files

Posted: Tue Feb 01, 2011 10:46 am
by whiteportion
Hi.

I'm having some issues with uploading files, as they are not located in the folder I've specified in the process.jsp
It seems the files aren't uploaded at all, though the applet is stating so - see attached picture.
What can it be?

Re: Missing "uploaded" files

Posted: Tue Feb 01, 2011 7:50 pm
by support
What folder did you setup in process.jsp? Is it an absolute path to a server-side folder? Do you have read/write permissions on it?

Re: Missing "uploaded" files

Posted: Tue Feb 01, 2011 8:01 pm
by whiteportion
I have created to folders, CHMOD = 777

Code: Select all

	String directory = "http://xxxxxxx.no/upload/upload";
	String tmpdirectory = "http://xxxxxxx.no/upload/temp";

Re: Missing "uploaded" files

Posted: Wed Feb 02, 2011 6:35 pm
by support
That's the problem it must be a folder not an URL. For instance:
String directory = "/home/user/user1/upload/upload";
String tmpdirectory = "/home/user/user1/upload/upload/temp";

Does it help?

Re: Missing "uploaded" files

Posted: Wed Feb 02, 2011 7:22 pm
by whiteportion
I have now tried, but it still doesn't work. I looks like I can write anything I want in the path, and it still will say "Upload completed".

Re: Missing "uploaded" files

Posted: Thu Feb 03, 2011 7:30 am
by support
Are you sure TOMCAT process is allowed to write in these folders?