folderdepth still allowing deeper files
Posted: Tue Aug 25, 2009 6:43 pm
Hi! I've set folderdepth=3 but the applet is still allowing users to upload files that are deeper than 3 folders deep. Here's a part of my .js file settings:
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="resources" VALUE="/cdhtml/i18n">');
document.writeln('<PARAM NAME="url" VALUE="ftp://xxx.xxxxx.xxx">');
document.writeln('<PARAM NAME="param1" VALUE="username">');
document.writeln('<PARAM NAME="value1" VALUE="xxxxx">');
document.writeln('<PARAM NAME="param2" VALUE="password">');
document.writeln('<PARAM NAME="value2" VALUE="xxxxx">');
document.writeln('<PARAM NAME="param3" VALUE="pasv">');
document.writeln('<PARAM NAME="value3" VALUE="true">');
document.writeln('<PARAM NAME="param4" VALUE="accountcreation">');
document.writeln('<PARAM NAME="value4" VALUE="true">');
document.writeln('<PARAM NAME="param5" VALUE="relativefilename">');
document.writeln('<PARAM NAME="value5" VALUE="true">');
document.writeln('<PARAM NAME="param6" VALUE="deleteonfail">');
document.writeln('<PARAM NAME="value6" VALUE="true">');
document.writeln('<PARAM NAME="param7" VALUE="commandmonitor">');
document.writeln('<PARAM NAME="value7" VALUE="120">');
document.writeln('<PARAM NAME="mode" VALUE="ftp">');
document.writeln('<PARAM NAME="timeout" VALUE="120000">');
document.writeln('<PARAM NAME="retry" VALUE="5">');
document.writeln('<PARAM NAME="overwrite" VALUE="true">');
document.writeln('<PARAM NAME="maxfiles" value="25">');
document.writeln('<PARAM NAME="folderdepth" value="3">');
document.writeln('<PARAM NAME="hidebar" value="true">');
The "forward", "post", and "account" parameters are set dynamically via html and cgi code, and I'm also setting setProperty("postparameters","extrarelative") and setParameter("notifyrelativefilename","true") via html/cgi as well.
Are any of these settings conflicting with the folderdepth setting? or am I missing another setting to make the folderdepth limit uploads? (by the way, the "maxfiles" setting does work to limit the amount of files uploaded by a user).
Thanks for any help on this,
Cid
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="resources" VALUE="/cdhtml/i18n">');
document.writeln('<PARAM NAME="url" VALUE="ftp://xxx.xxxxx.xxx">');
document.writeln('<PARAM NAME="param1" VALUE="username">');
document.writeln('<PARAM NAME="value1" VALUE="xxxxx">');
document.writeln('<PARAM NAME="param2" VALUE="password">');
document.writeln('<PARAM NAME="value2" VALUE="xxxxx">');
document.writeln('<PARAM NAME="param3" VALUE="pasv">');
document.writeln('<PARAM NAME="value3" VALUE="true">');
document.writeln('<PARAM NAME="param4" VALUE="accountcreation">');
document.writeln('<PARAM NAME="value4" VALUE="true">');
document.writeln('<PARAM NAME="param5" VALUE="relativefilename">');
document.writeln('<PARAM NAME="value5" VALUE="true">');
document.writeln('<PARAM NAME="param6" VALUE="deleteonfail">');
document.writeln('<PARAM NAME="value6" VALUE="true">');
document.writeln('<PARAM NAME="param7" VALUE="commandmonitor">');
document.writeln('<PARAM NAME="value7" VALUE="120">');
document.writeln('<PARAM NAME="mode" VALUE="ftp">');
document.writeln('<PARAM NAME="timeout" VALUE="120000">');
document.writeln('<PARAM NAME="retry" VALUE="5">');
document.writeln('<PARAM NAME="overwrite" VALUE="true">');
document.writeln('<PARAM NAME="maxfiles" value="25">');
document.writeln('<PARAM NAME="folderdepth" value="3">');
document.writeln('<PARAM NAME="hidebar" value="true">');
The "forward", "post", and "account" parameters are set dynamically via html and cgi code, and I'm also setting setProperty("postparameters","extrarelative") and setParameter("notifyrelativefilename","true") via html/cgi as well.
Are any of these settings conflicting with the folderdepth setting? or am I missing another setting to make the folderdepth limit uploads? (by the way, the "maxfiles" setting does work to limit the amount of files uploaded by a user).
Thanks for any help on this,
Cid