Hi, I have experienced something odd. I’m trying to create a client-package with “Create Zip File”-action in FB 6.2.0.1074. I use a variable to store the filenames to be added. But the result is not possible to open with WinZip. “Cannot open file: it does not appear to be a valid archive”. It can however open the archive with windows explorer.
But if I instead copy the files to a temp-directory, and add the files to the zip-file using wildcards I have no problems opening the file.
I have tried to turn on and off every option, but no difference. Does anybody have a suggestion?
Regards,
Håvar
Hi Havar,
We’ve not been able to reproduce the problem here, would you be able to send in your FinalBuilder project file into support [at] finalbuilder.com?
In the mean time as an alternative to using the ‘Create Zip File’ action you can use the 7-Zip actions to create your archive.
Regards,
Paul.
Hi - it was no bug, but my fault.
When I prepared the package for you i discovered the fault on my side. The textfile that was read into the variable contained a blank line at the end. The variable was later modified to give the full path of the files. The fault was that the blank line was also given a directory-path. For some reason the zip-action didn't fail, but the result was only readable to Windows Explorer, not WinZip.
Regards,
Håvar