Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Best Zip and Compression Tools

Posted on 2010-08-16
9
Medium Priority
?
462 Views
Last Modified: 2012-05-10
Dear All,

I have a client requirement to send the 150 MB file size using 500 Kbps line in 25-35 minutes time using Desktop client (windows application) to a remote Server via FTP or any other file tranfer protocol.

I planned to use the below method and use either VB.Net or C# as my programming language to develop the application.

1) Select The file(s) at desktop client
2) Compress File(s) at desktop client
3) Zip the file(s) at desktop client
4) Split the file and send all the parts at the same time using multithreading if its cessory.
If we can send it one shot it will be good.
5) Send the file to the remote server via FTP  
6) Unzip the file(s) at remote server
7) Decompress the file(s) at remote server

Can anybody suggest me some tools or Dlls or Method which can fulfill my client's above requirement.

Thanks and Regards
ihsan
0
Comment
Question by:anand_dan27
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 8

Assisted Solution

by:nwtechdesk
nwtechdesk earned 500 total points
ID: 33451736
7-zip is the current favorite, better than plain old zip.  Your success though will depend on the type of file. If it's a 150mb jpg then there is no compression that'll make much of a difference.  If it's text, no problem.  Splitting the file and sending multiple segments at the same time will probably not make any difference on a 500 Kbps line.  Unless there's a bottleneck on the other side, you chief problem is that slow connection.  Asking two threads to send through the same tight space won't help.
0
 
LVL 2

Expert Comment

by:ajisasaggi
ID: 33452287
7zip also has a command line utility. This should help in easy integration with your application.

http://dotnetperls.com/7-zip-examples
0
 
LVL 41

Assisted Solution

by:graye
graye earned 500 total points
ID: 33501258
I'd recommend SharpZipLib....  it has a native .Net library that does everything that I want...
http://www.icsharpcode.net/opensource/sharpziplib/ 
0
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 
LVL 17

Accepted Solution

by:
CSecurity earned 500 total points
ID: 33774367
Dear anand_dan27

Once I decided to code an application that compress files and used this:
http://www.codeproject.com/KB/files/CABCompressExtract.aspx

This project has too much details and works great. It even has encryption and send file methods. It helped me a lot and I hope help you as a C# programmer (the code is in both C++ and C# .NET languages).

But, maybe you think that 7zip is more powerful than this cab compression but there are two points:
1- The difference is really little. For example, if 7zip compress a file from 28M to 1M, cab will do it like 1.2M. I tested them all when coding for my own project. It's more powerful than zip, tar + jar, rar, tar + lzh, arj and  tar + gz (based on the documentation and my own experience).

2- Cab compression is too faster than 7zip. The diffrence is more sensible for large files.

So, I recommend you to use detailed documented and easy to use cab compression.

Regards
0
 
LVL 4

Expert Comment

by:prasmin
ID: 34703677
You would be easily able to send it. Calculating the speed you gave it would take somewhere about 20 to 22 min max sending a 150MB file to FTP Server.
0
 
LVL 11

Assisted Solution

by:pmasotta
pmasotta earned 500 total points
ID: 36104505
if you are planning to use 7z programatically you better be ready for pain...
7z is not the simpler api I've ever used....


on the other hand if you are not attached to zip format I would recommend the cab MS native api.
http://msdn.microsoft.com/en-us/library/bb417343.aspx
http://msdn.microsoft.com/en-us/library/bb432569.aspx
http://msdn.microsoft.com/en-us/windows/bb980924.aspx

you programatically generate cab files (very efficient compression) that can be extracted with the everywhere available MS "expand.exe". The API has some level of difficulty but far easier than 7z, and you have sample code on MSDN.
0
 
LVL 50
ID: 37163447
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question