Workflow: list ZIP content by URL
curl will download a HTTP/HTTPS resource or file from a given URL, following any redirections.
- Selected
- |
- Default Values
- Nested Workflows
- Tools
- Inputs/Outputs
This workflow is Open Source and may be reused according to the terms of:
Creative Commons Attribution 4.0
Note that the tools invoked by the workflow may have separate licenses.
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/5f4b5aab2a9e0fa53eb3d49d62a52d47025a967d/code/data-gathering/workflows/zip-content-by-url.cwl
