Skip to main content

Extract a file from a zip file

Wrk Product avatar
Written by Wrk Product
Updated over 3 weeks ago

Extract a single file from a provided ZIP file. Provide the full file path from ‘Retrieve details form a ZIP file' Wrk Action to download the file.

Application

  • Data

Inputs (what you have)

Name

Description

Data Type

Required?

Example

ZIP file

ZIP file to extract the files from

File

Yes

Full path

Specify the full path of the file inside the ZIP file. This can be found in “Retrieve details from a ZIP file” Wrk Action

Text (Long)

Yes

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Extracted file

The extracted file

File

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

No result

This status is selected if the job has successfully completed but no result was produced.

Supported Archive File Types

ZIP-based formats

These are handled as ZIP archives:

  • .zip

  • .whl

  • .jar

  • .war

  • .ear

  • .apk

  • .epub

  • .docx

  • .xlsx

  • .pptx

  • .ipa

  • .kmz

  • .xpi

  • .odt

  • .ods

  • .odp

7-Zip formats

  • .7z

TAR-based formats

These are handled as TAR archives and common compressed variants:

  • .tar

  • .tgz → normalized to .tar.gz

  • .tar.gz

  • .tar.bz2

  • .tar.xz

  • .tbz

  • .tbz2

  • .txz

  • .gz → treated as .tar.gz

  • .bz2 → treated as .tar.bz2

  • .xz → treated as .tar.xz

Did this answer your question?