downloading multiple files from the server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manjitsarma
    New Member
    • Jul 2007
    • 34

    downloading multiple files from the server

    I want to create a functionality for downloading multiple files from the server. User can check multiple files and then when he selects download button it should download all the selected files automatically.

    Please help me in this regard....

    Thanks

    Manjit
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Originally posted by manjitsarma
    I want to create a functionality for downloading multiple files from the server. User can check multiple files and then when he selects download button it should download all the selected files automatically.

    Please help me in this regard....

    Thanks

    Manjit
    This sounds straight forward. Where are you having trouble?

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      Zip them and then send them?

      Comment

      • Curtis Rutland
        Recognized Expert Specialist
        • Apr 2008
        • 3264

        #4
        Originally posted by Plater
        Zip them and then send them?
        Here's a good library for doing just that.

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          Originally posted by insertAlias
          Here's a good library for doing just that.
          Is that any better then using the zip methods built into .net (System.IO.Comp ression namespace) already?

          Comment

          • Curtis Rutland
            Recognized Expert Specialist
            • Apr 2008
            • 3264

            #6
            Originally posted by Plater
            Is that any better then using the zip methods built into .net (System.IO.Comp ression namespace) already?
            It is much easier, AFAIK. I've never used the built in methods, but I have used this, and it can be almost as simple as using an array.

            Something I read that made me want to try it:
            The .NET Framework has GzipStream and DeflateStream classes for compression tasks, but they do not support the standard ZIP file / folder FileEntry mechanism to zip a folder with all its files and subfolders.

            Fortunately, the ICSharpCode SharpZipLib project does support this, as well as passwords for zip files and compression level.
            Also, it's open source, so that's a plus.

            Comment

            • manjitsarma
              New Member
              • Jul 2007
              • 34

              #7
              Thank u all.I am working on it .

              Regards...

              manjit

              Comment

              Working...