Recursive folder

Image previewer add-on.

Recursive folder

Postby jrobinet » Tue May 18, 2010 5:37 pm

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
jrobinet
 
Posts: 1
Joined: Tue May 18, 2010 5:34 pm

Re: Recursive folder

Postby support » Tue May 18, 2010 8:19 pm

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">
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm


Return to JImageUpload



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.