Announcement

Collapse
No announcement yet.

my ZLIB job suddenly stops working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • my ZLIB job suddenly stops working

    I have a job reading thousands of files, of which about 20 percent are zipped.
    After unzipping exactly 37 successfully, it fails on ALL further attempts.

    I seem to recall, that there was no need to perform a close when unzipping, but
    I haven't found the docs which I think I remember on that.

    Has anyone experienced this before? Do I need to use unzCloseCurrentFile?
    If so, does CurrentFile refer to the zip archive, or each file within it?



    ------------------
    Thanks,

    John Kovacich
    Thanks,

    John Kovacich
    Ivory Tower Software

  • #2
    When I use zlib to compress a file I always use gzopen to open it and gzclose after I've compressed the data.
    Sounds like you might be using a different function, though ...
    Best Regards,
    Don



    [This message has been edited by Don Dickinson (edited March 23, 2001).]
    Don Dickinson
    www.greatwebdivide.com

    Comment


    • #3
      I'm using unzOpen to open a zipped archive (I'm extracting).

      I added unzCloseCurrentFile, with no effect.

      I have moved the files around, changed the files in question, changed
      the number of jobs open in the background, and it continues to
      stop after 37 files.

      ------------------
      Thanks,

      John Kovacich
      Thanks,

      John Kovacich
      Ivory Tower Software

      Comment

      Working...
      X