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. Compress and extract a folder

Compress and extract a folder

Scheduled Pinned Locked Moved C#
7 Posts 6 Posters 1 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.
  • Y Offline
    Y Offline
    yesu prakash
    wrote on last edited by
    #1

    Hi, How can i compress and extract a folder programmatically? Can i get any sample source code? Thankyou, YPKI

    C 1 V L 5 Replies Last reply
    0
    • Y yesu prakash

      Hi, How can i compress and extract a folder programmatically? Can i get any sample source code? Thankyou, YPKI

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You can use J# for that, or you need a third party component.

      Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

      V 1 Reply Last reply
      0
      • Y yesu prakash

        Hi, How can i compress and extract a folder programmatically? Can i get any sample source code? Thankyou, YPKI

        1 Offline
        1 Offline
        12Code
        wrote on last edited by
        #3

        You can Use GZipStream and DeflateStream classes from namespace System.IO.Compression

        ;)*12Code

        1 Reply Last reply
        0
        • Y yesu prakash

          Hi, How can i compress and extract a folder programmatically? Can i get any sample source code? Thankyou, YPKI

          1 Offline
          1 Offline
          12Code
          wrote on last edited by
          #4

          You can Use GZipStream and DeflateStream classes from namespace System.IO.Compression Hope this can help.

          ;)*12Code

          1 Reply Last reply
          0
          • C Christian Graus

            You can use J# for that, or you need a third party component.

            Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

            V Offline
            V Offline
            Vikram A Punathambekar
            wrote on last edited by
            #5

            Why are you recommending J#? :wtf:

            Cheers, Vıkram.

            Carpe Diem.

            1 Reply Last reply
            0
            • Y yesu prakash

              Hi, How can i compress and extract a folder programmatically? Can i get any sample source code? Thankyou, YPKI

              V Offline
              V Offline
              Vasudevan Deepak Kumar
              wrote on last edited by
              #6

              Check out this article: http://www.eggheadcafe.com/tutorials/aspnet/9ce6c242-c14c-4969-9251-af95e4cf320f/zip--unzip-folders-and-f.aspx[^]

              Vasudevan Deepak Kumar Personal Homepage
              Tech Gossips
              The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

              1 Reply Last reply
              0
              • Y yesu prakash

                Hi, How can i compress and extract a folder programmatically? Can i get any sample source code? Thankyou, YPKI

                L Offline
                L Offline
                Laddie
                wrote on last edited by
                #7

                Hope this helps. Compress and Decompress files using C#[^]

                Thanks Laddie Kindly rate if the answer was helpful

                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