Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Zipping Files

Zipping Files

Scheduled Pinned Locked Moved C#
csharpdotnethelpquestionannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DFU23
    wrote on last edited by
    #1

    Can anyone point me in the right direction to take a group of files and ZIP them together? I am not looking for a component ... there should be something built into the .NET Framework for file compression, right? I am struggling at finding information ... please help. :confused:

    Wally Atkins
    Newport News, VA, USA

    N J 2 Replies Last reply
    0
    • D DFU23

      Can anyone point me in the right direction to take a group of files and ZIP them together? I am not looking for a component ... there should be something built into the .NET Framework for file compression, right? I am struggling at finding information ... please help. :confused:

      Wally Atkins
      Newport News, VA, USA

      N Offline
      N Offline
      Nathan Blomquist
      wrote on last edited by
      #2

      There are no compression streams built into the .NET framework. If you are looking to just combine the files into one big file, then you can just open each file and copy the bytes from them into one file. You will need to do something so that you can tell when one stops though and another begins. Hope this helps, Nathan P.S. I do know of a library for .NET compression but you said you don't want it. D2F3U wrote: I am not looking for a component ... --------------------------- Hmmm... what's a signature?

      1 Reply Last reply
      0
      • D DFU23

        Can anyone point me in the right direction to take a group of files and ZIP them together? I am not looking for a component ... there should be something built into the .NET Framework for file compression, right? I am struggling at finding information ... please help. :confused:

        Wally Atkins
        Newport News, VA, USA

        J Offline
        J Offline
        J Dunlap
        wrote on last edited by
        #3

        Take a look at this GPL (open-source) zip library, called SharpZipLib[^].

        "Do unto others as you would have them do unto you." - Jesus
        "An eye for an eye only makes the whole world blind." - Mahatma Gandhi

        N 1 Reply Last reply
        0
        • J J Dunlap

          Take a look at this GPL (open-source) zip library, called SharpZipLib[^].

          "Do unto others as you would have them do unto you." - Jesus
          "An eye for an eye only makes the whole world blind." - Mahatma Gandhi

          N Offline
          N Offline
          Nathan Blomquist
          wrote on last edited by
          #4

          Heh, that's where I would've sent him had he asked for it... Maybe I took his quote about not wanting a component to literally. But SharpZipLib is a great library... anyway, I think I am too bored, cause I am posting this useless message... --------------------------- Hmmm... what's a signature?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups