Solved

Abbrevia package compression issue

Posted on 2010-08-29
4
666 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
[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
  • 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

705 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