ZIP + password
kazuser opened this issue · comments
How to open a password-protected *.xlsx?
var
Li: integer;
Lu: TAbUnZipper;
begin
Lu := TAbUnZipper.Create(nil);
try
Lu.ArchiveType := atZip;
Lu.ForceType := true;
Lu.FileName := FFile;
Lu.Password := FPass;
for Li := 0 to Lu.Count - 1 do Memo1.Lines.Add(Lu.Items[Li].FileName);
finally
Lu.Free;
end;
end;
Without a password the file opens ok: