Page 1 of 1

overwrite indexrename corrupt zip?

Posted: Mon Nov 22, 2010 4:42 pm
by Mcooper
Well using <PARAM NAME="overwrite" VALUE="indexrename"> and overall compression the zip gets uploaded but it has a corrupt file header it seems can not extract the files after upload. removing <PARAM NAME="overwrite" VALUE="indexrename"> fixes the issue.

Also it seems setting the compression level to anything but 0 also corrupts the zip.

Also this is for FTP transfer not HTTP

Here is my config dealing with the naming and compression.

document.writeln('<PARAM NAME="overwrite" VALUE="indexrename">');

document.writeln('<PARAM NAME="template" VALUE=":name::extension:">');

document.writeln('<PARAM NAME="zipignorelist" VALUE="*.zip">');
document.writeln('<PARAM NAME="preprocessingfilter" VALUE="archiver">');
document.writeln('<PARAM NAME="folderdepth" VALUE="-1">');
document.writeln('<PARAM NAME="preprocessingfilterparam1" VALUE="compressionlevel">');
document.writeln('<PARAM NAME="preprocessingfiltervalue1" VALUE="0">');
document.writeln('<PARAM NAME="preprocessingfilterparam3" VALUE="archiveextension">');
document.writeln('<PARAM NAME="preprocessingfiltervalue3" VALUE=".zip">');

Re: overwrite indexrename corrupt zip?

Posted: Wed Nov 24, 2010 8:41 pm
by support
We're going to make a test. Did you select files and folders for upload? Or just files?

Re: overwrite indexrename corrupt zip?

Posted: Tue Dec 07, 2010 7:57 pm
by Mcooper
We are selecting folders.