すべての Tool›Password Protected ZIP
File 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
バージョン1
実行方式CLIENT
対応モードHeadless, Embedded

クイック操作

入力ファイル 1–500出力ファイル 1

入力

この Tool が受け付ける入力形式とファイル数です。

入力種類file
ファイル数1 – 500
対応 MIME*/*

パラメータ

これらの値は request.options で渡します。

パラメータ 型 必須 既定値 許可値 / 範囲 説明
password string 必須 — — Password used to encrypt the ZIP archive. Minimum 8 characters.
encryption enum 任意 zipcrypto zipcrypto | aes256 ZIP encryption mode. zipcrypto is the compatibility default; aes256 provides stronger security.
compression enum 任意 balanced fast | balanced | maximum Compression level used while creating the ZIP archive.
archiveName string 任意 protected-files.zip — Output ZIP filename.

出力

処理完了後に返される結果形式です。

型files
ファイル数1 – 1
出力 MIMEapplication/zip
MetadatainputCount, inputBytes, outputBytes, encryption, compression
ZIP アーカイブ非対応

基本例

対応する統合モードを確認し、生成された開始コードをコピーできます。

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.