I was looking at updating Lucee from 5.2.9.31 to the latest 5.3.8.189 even installing the latest compress tags 1.0.0.4 but was running into an issue with cfzip and dealing with s3 resources but get the the following error/stacktrace
code is a simplified example that works on lucee 5.2.9.31 - 5.3.2.77 anything above gets the error.
<cfset LOCAL.tempPath = GetTempDirectory() & 'pdfs_'& timeFormat(now(), "HH_mm_ss") & ".zip">
<cfset LOCAL.file = listLast(LOCAL.tempPath, '\')>
<cfset LOCAL.mybucket = "test">
<cfset LOCAL.accesskey = "S3ACCESSID">
<cfset LOCAL.secretkey = "S3SECRETKEY">
<cfzip action="zip" file="#LOCAL.tempPath#"overwrite="true">
<cfzipparam source="s3://#LOCAL.accesskey#:#LOCAL.secretkey#@#LOCAL.mybucket#/test1.pdf" />
<cfzipparam source="s3://#LOCAL.accesskey#:#LOCAL.secretkey#@#LOCAL.mybucket#/test2.pdf" />
</cfzip>
<cfheader name="Content-Disposition" VALUE="inline; filename=#LOCAL.file#">
<cfcontent type="application/zip" file="#LOCAL.tempPath#">
Don’t forget to tell us about your stack!
OS: windows + ubuntu
Java Version: 8 + 11
Tomcat Version: 8.5
Lucee Version: 5.3.3.62+