Missing "uploaded" files

Upload core product.
Post Reply
whiteportion
Posts: 3
Joined: Tue Feb 01, 2011 10:38 am

Missing "uploaded" files

Post 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?
Attachments
01.02.jpg
Java Console and applet
(108.01 KiB) Not downloaded yet

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Missing "uploaded" files

Post 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?

whiteportion
Posts: 3
Joined: Tue Feb 01, 2011 10:38 am

Re: Missing "uploaded" files

Post 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";

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Missing "uploaded" files

Post 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?

whiteportion
Posts: 3
Joined: Tue Feb 01, 2011 10:38 am

Re: Missing "uploaded" files

Post 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".

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Missing "uploaded" files

Post by support »

Are you sure TOMCAT process is allowed to write in these folders?

Post Reply