New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unzip with p:store (cx:decode) #41
Comments
some further info; in p:store impl line 116-120 ... you branch logic based on c:data element having an encoding attribute which equals base64 ... I think cx:unzip does not emit this so we never branch to storeBinary() |
I think adding a tree.addAttribute() near line 157 (Unzip.java) and adding an encoding attribute with value 'base64' should do the trick. |
for completeness this works when I add p:add-attribute setp
|
Good catch, Jim. Fixed. |
I want to download a zip and extract all contents ... I thought this would be made easier/possible using cx:decode="true" on store step. This is especially a problem in terms of handling zips containing multiple file types (containing images, html, xml, etc)... its not entirely clear.
Consider the following example pipeline, which downloads manifest from a test.zip and attempts to store each item in its native form ... this results in a bunch of base64 encoded files.
The text was updated successfully, but these errors were encountered: