Back to bricks list
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

Download resource from external source

TASK
Typing name :  TASK.gws_core.ResourceDownloaderHttp Brick :  gws_core

Download a resource from an external source using a link

Task to download a resource from an external source using an HTTP link.

If the link is from a Gencovery lab, the resource downloaded and imported in the correct type. Then it will be marked as received in the origin lab. In this case an automatic scenario might be created in the source lab to zip the resource before sharing it.

If the link refers to a zip file, the zip file will be unzipped and the resource will be imported (File or Folder).

If the link refers to a file, the file will be imported as a resource.

Output

Imported resource

Configuration

link

Link to download the resource

Type : string

uncompress

Optional

Option to uncompress the file if it is compresses.

Type : stringAllowed values : auto yes no Default value : auto

create_option

Optional

Type : stringAllowed values : Skip if exists Force new resource Default value : Skip if exists