473,405 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

How to compress the files in server?

ad
I want to compress two fies in server (c:\data\mine.mdf, mine_log.ldf) into
a files and copy the a specific folder in client.

How can I do that?
Nov 19 '05 #1
2 1268
To compress files I'd first try using the J# zip classes:
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Or I've heard of people having success with this code:
http://www.icsharpcode.net/Ope*nSour.../Default.as*px

Or you could consider calling a command line utility like this:
http://www.i386.info/software/*zip23xn.zip

Or you could consider a 3rd party component such as this:
http://www.xceedsoft.com/products/zipnet

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"ad" <ad@wfes.tcc.edu.tw> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I want to compress two fies in server (c:\data\mine.mdf, mine_log.ldf) into
a files and copy the a specific folder in client.

How can I do that?

Nov 19 '05 #2
Btw. the J# method does not work very well to extract zip's made on Mac OS.

Eirik
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> skrev i melding
news:%2****************@TK2MSFTNGP15.phx.gbl...
To compress files I'd first try using the J# zip classes:
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Or I've heard of people having success with this code:
http://www.icsharpcode.net/Ope*nSour.../Default.as*px

Or you could consider calling a command line utility like this:
http://www.i386.info/software/*zip23xn.zip

Or you could consider a 3rd party component such as this:
http://www.xceedsoft.com/products/zipnet

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"ad" <ad@wfes.tcc.edu.tw> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I want to compress two fies in server (c:\data\mine.mdf, mine_log.ldf)
into a files and copy the a specific folder in client.

How can I do that?


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tony | last post by:
Hello, Any assistance would be appreciated: As the subject suggests I am trying to gunzip files using the Compress::Zlib module. The following is basically the code that I am working with: ...
11
by: Shiperton Henethe | last post by:
Dreamweaver 4 Hi Can anyone recommend a decent utility for compressing HTML that is safe - i.e. that *definitely* doesn't mess with the appearance in any browsers. I run a growing website...
24
by: Sparhawk | last post by:
Hi, the question how to compress JavaScript has been discussed many times in the news groups but I didn't find a suitable solution. I need a tool, which a) does not cost anything b) removes...
5
by: ad | last post by:
I used use SharpZipLib to compress files in disk. But now I want to compress stream into another stream in memory(the stream not associated with disk file) My pseudo is: Stream...
3
by: dust | last post by:
I need to improve the download speed for an asp.net 2.0 application. So I'd like to compress the dimension of the .aspx pages. These pages don't have any images or heavy element. The most long...
2
by: dotnetnoob | last post by:
i'm making a function to compress a directory and all the subfolders/files under it for backup purpose. i can make a copy of directory without any problem but how do i compress the copyed...
6
by: Champika Nirosh | last post by:
Hi, I have two machine where I needed to have a extended TCP/IP protocol to make the link between the two machines Mean,I need to write a application that compress every data the machine send...
1
by: =?Utf-8?B?U2NobWVuZ3k2OQ==?= | last post by:
Hopefully someone can help with this query. I have searched the internet and no other occurence of this problem seems to appear so I must be unique in some way... OS : XP Media Center I...
2
by: nicky77 | last post by:
Hi there, I'm brand new to ASP (from PHP background) and i am developing some content management for a web site. I'm having a problem with the fact that I want to allow image files to be uploaded...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.