Need to Create Directory Before Upload

Upload core product.
Post Reply
escottx
Posts: 1
Joined: Fri Nov 05, 2010 2:16 am

Need to Create Directory Before Upload

Post by escottx »

I have a custom login page. When user logs in, their creds are checked against a SQL db. If successful, their username is stored in a cookie. I use the cookie to create a directory for each user within the upload folder before the upload begins. Everything works as expected when I use the PROCESS.ASPX file. But when I use JFileUpload I get a 500 Internal Server error. What am I missing? Thanx!

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

Re: Need to Create Directory Before Upload

Post by support »

500 error comes from server. Just have a look to your server log/traces to understand what's wrong. Maybe you need to pass the cookie to applet so it can forward it in each upload request:
http://www.jfileupload.com/products/jfi ... ation.html

Post Reply