Solved

Abbrevia package compression issue

Posted on 2010-08-29
4
657 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 30

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 30

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 85
TcomboBox uninverted item 3 44
Delphi OLE Error 8 84
Delphi XE10 Round Image 2 48
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

706 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

18 Experts available now in Live!

Get 1:1 Help Now