Skip to content

[Q] Writing file part by part ? #132

@Ehmydev

Description

@Ehmydev

Hello,

I'm wondering if it is possible to add files into the zip part by part. By that, i mean something like this :

archive.entry('part1', { name: 'file.txt' }, function(err, entry) {
  if (err) throw err;
  archive.entry('part2', { name: 'file.txt' }, function(err, entry) {
    if (err) throw err;
    archive.finish();
  });
});

Which create only one file without overwriting, but appending instead, with 'part1part2' as content.

If not, will it ever be implemented in the future ? If you have any other alternative, i'm taking it.

Thanks by advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions