Page 1 of 1

Recursive folder

Posted: Tue May 18, 2010 5:37 pm
by jrobinet
Hello,

I am playing with jimageupload, everything works fine but the recursive folder stuff. It is working without the jimageupload (jfileupload) as soon as I plug it in it's not working anymore. Below the parameters:
document.writeln('<PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class">');
document.writeln('<PARAM NAME=CODEBASE VALUE="./">');
document.writeln('<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/previewui.jar">');
document.writeln('<PARAM NAME=NAME VALUE="fileupload">');
document.writeln('<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">');
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="url" VALUE="http://www.silvertest.fr/applet/upload.php">');
document.writeln('<PARAM NAME="paramfile" VALUE="uploadfile">');
document.writeln('<PARAM NAME="param1" VALUE="todo">');
document.writeln('<PARAM NAME="value1" VALUE="upload">');
document.writeln('<PARAM NAME="transferui" VALUE="jfileupload.transfer.client.preview.PreviewerTransferUI">');
document.writeln('<PARAM NAME="resources" VALUE="i18n_bar">');
document.writeln('<PARAM NAME="transferuiresources" VALUE="i18n_pane">');
document.writeln('<PARAM NAME="mode" VALUE="http">');
document.writeln('<PARAM NAME="folderdepth" VALUE="1">');
document.writeln('<PARAM NAME="param2" VALUE="relativefilename">');
document.writeln('<PARAM NAME="value2" VALUE="true">');

I have the following error in the java console
18 mai 2010 19:45:14 jfileupload.transfer.client.http.HTTPUploadTransfer run
INFO: Upload failed - Files requirements

Thanks in advance
/jm

Re: Recursive folder

Posted: Tue May 18, 2010 8:19 pm
by support
What is the depth of folders and subfolders? I see you have:
<PARAM NAME="folderdepth" VALUE="1">

For unlimited folders/subfolders it should be:
<PARAM NAME="folderdepth" VALUE="-1">