Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites

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 by Rolf Kalbermatter

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.