Alle Tools›Password Protected ZIP
Datei-Tools

Password Protected ZIP

password-protected-zip

Use Password Protected ZIP through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool-IDpassword-protected-zip
Version1
AusführungCLIENT
ModiHeadless, Embedded

Schnellzugriff

Eingabedateien 1–500Ausgabedateien 1

Eingabe

Zulässige Eingabeformate und Dateianzahl für dieses Tool.

Eingabetypfile
Dateianzahl1 – 500
Zulässige MIME-Typen*/*

Parameter

Diese Werte über request.options übergeben.

Parameter Typ Erforderlich Standard Zulässig / Bereich Beschreibung
password string Erforderlich — — Password used to encrypt the ZIP archive. Minimum 8 characters.
encryption enum Optional zipcrypto zipcrypto | aes256 ZIP encryption mode. zipcrypto is the compatibility default; aes256 provides stronger security.
compression enum Optional balanced fast | balanced | maximum Compression level used while creating the ZIP archive.
archiveName string Optional protected-files.zip — Output ZIP filename.

Ausgabe

Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.

Typfiles
Dateianzahl1 – 1
Ausgabe-MIMEapplication/zip
MetadatainputCount, inputBytes, outputBytes, encryption, compression
ZIP-ArchivNicht unterstützt

Grundlegende Verwendung

Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.

Headless

const result = await client.run("password-protected-zip", {
  files: selectedFiles,
  options: { password: "value", encryption: "zipcrypto", compression: "balanced", archiveName: "protected-files.zip" }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "password-protected-zip", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.