Workflow: list ZIP content by URL

Fetched 2023-01-05 05:03:12 GMT

curl will download a HTTP/HTTPS resource or file from a given URL, following any redirections.

children parents
Workflow as SVG
  • Selected
  • Default Values
  • Nested Workflows
  • Tools
  • Inputs/Outputs

Inputs

ID Type Title Doc
url String

The URL of the ZIP archive to inspect.

Steps

ID Runs Label Doc
list
../tools/jar-list.cwl (CommandLineTool)
jar: list zip file content

List content of a ZIP file using OpenJDK jar, which can process the ZIP file in a streaming fashion.

fetch
../tools/curl-get.cwl (CommandLineTool)
curl: download HTTP resource from URL

curl will download a HTTP/HTTPS resource or file from a given URL, following any redirections.

Outputs

ID Type Label Doc
headers File

A log of the HTTP response headers.

filenames File

A list of filenames and directories encountered in the ZIP archive, seperated by newline.

Permalink: https://w3id.org/cwl/view/git/6e36d76f1f8ab7267ea6525ffb70b6b42e61e915/code/data-gathering/workflows/zip-content-by-url.cwl