Software components for data protection, secure storage and transfer
outStream,inStream are TMemoryStream;
fzip is TZipForge component
// Extract file from ZIP to Stream
// Add from Stream to ZIP
// myfile.txt exists ?
// fzip is currently compress something ?
if fzip.InUpdate then
var zip: TElZipWriter;
var entry: TElZipArchiveDirectoryEntry;
entry = zip.Directory.Entries; // a file entry that correspond to 'myfile.txt'
entry.ExtractionStream := outStream;
entry := zip.Directory.EntryWithName('myfile.txt');
if (entry <> nil) and (not entry.IsDirectory) then
// file found
Number of guests: 1, registered members: 0,
in total hidden: 0
Copyright (c) 2016, /n software, Inc.
As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.