Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
1
Share

Download resource from external source

TASK
554 times
81.77 %
4 minutes, 50 seconds
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

skip_tags

Optional

If true, the resource tags will not be set in the destination

Type : bool
Shine Logo
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.