Hi all,
I just got pro and I've added a hidden field for "ext_folder".
I also set allow_ext_folder option inside XUploadConfig to 1.
And, I set the form to upload to a subfolder inside my master target_dir folder specified for the upload mode.
But... I keep getting this error:
"Fatal Error: Can't copy file from temp dir (No such file or directory)"
Both temp directory and upload directory has been CHMOD to 777
Everything works fine when I set "allow_ext_folder" option to 0.
I can't figure out how to correct this. Please help.
Thank you!
Jim
XUpload - problem uploading to a folder specified in form.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Imagine you target_dir='/var/www/uploads'
You specify ext_folder='admins' in form
allow_ext_folder = 1
Not working fine? Maybe you specified full path in form instead of folder name?
To do more debug in upload.cgi find
and replace with
You specify ext_folder='admins' in form
allow_ext_folder = 1
Not working fine? Maybe you specified full path in form instead of folder name?
To do more debug in upload.cgi find
Code: Select all
xmessage("Fatal Error: Can't copy file from temp dir ($!)");
Code: Select all
xmessage("Fatal Error: Can't copy file from temp dir ($!)($temp)($dir/$fname)");