For the moment i know dotnetzip works..has many examples..and has already solved my problem! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Kean Sent: Wednesday, 21 July 2010 1:44 PM To: ozDotNet Subject: RE: Return multiple files from webservice?
If you're interested, my team is looking at adding Zip support to a future version of .NET: http://blogs.msdn.com/b/bclteam/archive/2010/06/28/working-with-zip-files-in -net.aspx -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Anthony Sent: Tuesday, July 20, 2010 7:42 PM To: 'ozDotNet' Subject: RE: Return multiple files from webservice? Thanks guys...ziping files and ionic.zip it is -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Wednesday, 21 July 2010 12:03 PM To: [email protected] Subject: RE: Return multiple files from webservice? We used to use sharpziplib but changed over to Ionic.Zip (DotNetZip) some time ago and haven't looked back. The interface is so much cleaner and straightforward it is ridiculous. When we went through the codebase making the changes the code was often 10-20% of the size (eg. 20 lines of calls to sharpziplib replaced by 4 lines of calls to DotNetZip. I'm not affiliated with it or anything, just a very happy user and I can't recommend it highly enough in terms of ease of use, and it's free. http://dotnetzip.codeplex.com/ Ben -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Richards Sent: Wednesday, 21 July 2010 9:53 AM To: ozDotNet Subject: Re: Return multiple files from webservice? How about zip files on server (into one file obviously) and then unzip on client. eg using sharpziplib. David "If we can hit that bullseye, the rest of the dominoes will fall like a house of cards... checkmate!" -Zapp Brannigan, Futurama On Wed, Jul 21, 2010 at 11:41, Anthony <[email protected]> wrote: > Anyone suggest a method of returning multiple files from a webservice. > I have win form client that talks to a webservice and wish to return multiple > files to the client. Should i create my own byte stream and encode > it with the file name etc. > > > > Should i be using a ws or is there a better way? > > > > Is your website being IntelliXperienced? > regards > Anthony (*12QWERNB*) > > Is your website being IntelliXperienced? > > > > This email is intended for the named recipient only. The information it contains may be confidential or commercially sensitive. If you are not the intended recipient you must not reproduce or distribute any part of this email, disclose its contents to any other party, or take any action in reliance on it. If you have received this email in error, please contact the sender immediately and delete the message from your computer.
