rinkoo Posted May 28, 2019 Report Share Posted May 28, 2019 Hi, I am using Zlib toolkit to open extract a zip file, but every time VI is through an error. (file attached). Need help. Read profile .zip Quote Link to comment
Rolf Kalbermatter Posted May 29, 2019 Report Share Posted May 29, 2019 (edited) That is because it is not a valid ZIP file. A ZIP file starts always with the two characters PK, sometimes with some (selfextractor) header in front. Your file does nowhere contain the PK identifier for a ZIP file. Also try to open the file in Windows Explorer and you get an error too, and when you open it in 7-ZIP it does recognize it as gzip format, which is a different format than ZIP. The correct fileending for this file should be .gz. The OpenG ZIP library specifically only can deal with proper ZIP files. Edited May 29, 2019 by Rolf Kalbermatter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.