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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Zip Folders and Files

Zip Folders and Files

Scheduled Pinned Locked Moved C#
csharphelp
6 Posts 5 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.
  • A Offline
    A Offline
    Anil Kumar Arvapalli
    wrote on last edited by
    #1

    I want to Zip Folder and all its contents... can any body suggest me the sample or any link.. I want to do it in C#... Pllease help me out... Thanks in Advance.... :)

    1 OriginalGriffO S 3 Replies Last reply
    0
    • A Anil Kumar Arvapalli

      I want to Zip Folder and all its contents... can any body suggest me the sample or any link.. I want to do it in C#... Pllease help me out... Thanks in Advance.... :)

      1 Offline
      1 Offline
      1 21 Gigawatts
      wrote on last edited by
      #2

      Try this one out: http://www.eggheadcafe.com/tutorials/aspnet/9ce6c242-c14c-4969-9251-af95e4cf320f/zip--unzip-folders-and-f.aspx[^] Or, a simpler method using GZipStream[^] :)

      "If you can't explain it simply, you don't understand it well enough" ~ Albert Einstein "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

      modified on Saturday, March 6, 2010 3:54 AM

      L 1 Reply Last reply
      0
      • A Anil Kumar Arvapalli

        I want to Zip Folder and all its contents... can any body suggest me the sample or any link.. I want to do it in C#... Pllease help me out... Thanks in Advance.... :)

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        Try this[^]

        You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        1 Reply Last reply
        0
        • 1 1 21 Gigawatts

          Try this one out: http://www.eggheadcafe.com/tutorials/aspnet/9ce6c242-c14c-4969-9251-af95e4cf320f/zip--unzip-folders-and-f.aspx[^] Or, a simpler method using GZipStream[^] :)

          "If you can't explain it simply, you don't understand it well enough" ~ Albert Einstein "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

          modified on Saturday, March 6, 2010 3:54 AM

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          1.21 Gigawatts wrote:

          Or, a simpler method using GZipStream[^]

          That won't make (or read) an actual zip file though, only a gzip file

          1 1 Reply Last reply
          0
          • L Lost User

            1.21 Gigawatts wrote:

            Or, a simpler method using GZipStream[^]

            That won't make (or read) an actual zip file though, only a gzip file

            1 Offline
            1 Offline
            1 21 Gigawatts
            wrote on last edited by
            #5

            Ohh. Ta :)

            "If you can't explain it simply, you don't understand it well enough" ~ Albert Einstein "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

            1 Reply Last reply
            0
            • A Anil Kumar Arvapalli

              I want to Zip Folder and all its contents... can any body suggest me the sample or any link.. I want to do it in C#... Pllease help me out... Thanks in Advance.... :)

              S Offline
              S Offline
              StarBP
              wrote on last edited by
              #6

              http://www.icsharpcode.net/OpenSource/SharpZipLib/[^]

              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