I have created a simple form. The form asks the user to upload a zip file using a filemanager element. When the user uploads it and clicks Process, I can get the zip file info using
but when I try to unzip the file with zip_packer and extract_to_storage I get error saying that the file cannot be opened.
So my second attempt was have the user upload the file and then click on it, clicking "Unzip". The folder and the files get created. However, when they click "Process" I try to use
to grab the individual files in the folder and move them to "perm" storage area in mdl_files and out of "draft". It doesn't work. Only the zip file gets moved.