Click here to Skip to main content
13,294,516 members (56,968 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi Guys...
I want to backup files in my server. But first I want to compress to all files with zip or rar on server. Later I will download to this zip file with ftp in C# Windows Forms. How to do it ? Are there zip on server library or classes ?
Posted 20-Feb-13 22:10pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There is the GZipStream[^] class: check out the code sample.
truvali89 21-Feb-13 3:43am
Thank you but this class only compress files in my computer. I want to compress files in remote server before dowloading.
CPallini 21-Feb-13 3:57am
I assumed you were coding for the server. If you have no control on the server software how could you perform the task?
truvali89 21-Feb-13 4:20am
I have no idea could I perform the task so Waiting for your suggestions
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Thanks Changed my mind this subject. I first downloading to all files in remote server with ftp class later this files compress with GZipStream.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 21 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100