Solved

Abbrevia package compression issue

Posted on 2010-08-29
4
658 Views
Last Modified: 2012-05-10
Hi all.
I'm writing a program in Delphi 7 to backup some files in a compressed file. Files resides in several folders. Sometimes it's needed to compress a entire folder and its subfolders, other times files need to be compressed one by one because thery are in different folders.
To do it, I use Abbrevia components. The problem is that the process it takes a long time: each file processes 3 seconds, even if it is very small. The processor runs with some percent performance but there are lots of harddisk accesses. It seems files are not read in a block nor used as a stream.

My question is: how can I improve backup performances? Can I still use Abbrevia components with some setting taht I now ignore? Or do I have to switch to another components? And how I can use blocks or stream to compress files that are in different folders or recurse folders and subfolders?

Thanks in advance.
0
Comment
Question by:Marco Gasi
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
aflarin earned 250 total points
ID: 33553645
I suggest you to try other components/libraries like KaZip or JclCompression from JCL and compare their results with Abbrevia components.

I'm using JclCompress with 7zip library and it's fast enough
0
 
LVL 1

Assisted Solution

by:sirodcar
sirodcar earned 250 total points
ID: 33576157
I am using JEDI's JCLCompression .. it is good.. and can be used for compressing single file , gorup of file or folder  or entire folder tree. I would suggest you go with  JEDI's JCLCompression

0
 
LVL 31

Author Comment

by:Marco Gasi
ID: 33576239
Hi. Thanks all for answers. Do you know if I can find some JCLCompression usage example? I don't find it within Jedi demos...
Thanks
0
 
LVL 31

Author Closing Comment

by:Marco Gasi
ID: 33978044
Thanks for help, but it has not been complete: at my last request of some code sample nobody answered nothing. I have some doubt that none expert is able to provide an example on how  use jclCompression to compress recursively a folder, or at least a single file.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now