Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Enterprise-Grade Advanced File & Streaming Compression Library

enterprise grade advanced file streaming compression library

If you need advanced file and streaming compression for your application, the IPWorks Zip library is a good choice. This library is easy to integrate, fast, and effective components that enable developers to rapidly add advanced compression and decompression features to your application.

What is IPWorks ZIP?

IPWorks ZIP allows developers to easily integrate compression and decompression into applications using the Zip, Tar, Gzip, 7-Zip, Bzip2, ZCompress, or Jar standards for compression.

procedure TFormCreatesevenzip.btnZipClick(Sender: TObject);
var
  curListItem: TListItem;
begin
  try
    SevenZip1.Reset;
    ProgressBar1.Position := 0;
    SevenZip1.ArchiveFile := txtArchiveFile.Text;

    curListItem := lstLocalFiles.Selected;
    if Assigned(curListItem) then
    begin
      while Assigned(curListItem) do
      begin
        SevenZip1.IncludeFiles(lblDirectory.Caption + '' +
          curListItem.Caption);
        curListItem := lstLocalFiles.GetNextItem(curListItem, sdAll,
          [isSelected]);
      end;
    end;

    // You can also add files to an archive using a filemask for instance:
    // SevenZip1.IncludeFiles('c:*.txt');

    if not(txtPassword.Text = '') then
    begin
      SevenZip1.Password := txtPassword.Text;

    end;

    SevenZip1.Compress;

    ShowMessage('SevenZip complete.');

  except
    on E: EipzZip do
      ShowMessage(E.Message);
  end;

  SevenZip1.ArchiveFile := ''; // Release the handle on the archive file.
end;

IPWorks Features

Supported platforms

How to get the IPWorks ZIP library?

You can head over and check out the library on the GetIt portal and download it in the IDE using the GetIt Package Manager

Exit mobile version