Download from Cloud Storage

network · A340 · starter-package 7.0.1

Downloads a file or object from cloud storage.

Use

Downloads a file or object from cloud storage. Connect a matching output from an earlier successful block when one exists; otherwise complete the visible validated settings documented for this block.

What the block does

This block sends the request to the Provider endpoint you entered. Connect Provider credential only when the service requires sign-in. A matching output from an earlier block takes precedence over the corresponding setting.

Inputs

  • objectRef — Cloud object: text; required; accepted output Cloud Object; default none.
  • destinationRef — Cloud download target: text; accepted output Cloud Download Target; optional when the visible fallback settings are completed; default none.
  • destinationPath — Download destination path: text; required when destinationRef is not connected; maximum bytes 4096; default none.
  • providerEndpoint — Provider endpoint: text; validated URL text; required; maximum bytes 2048; default none.
  • providerCredential — Provider credential: text; accepted output Credential; default none.
  • providerTimeoutMs — Provider timeout: number; minimum 1000; maximum 300000; default 60000.

Connections from earlier blocks

  • objectRef (cloud.object): connect the output from A339 Upload to Cloud Storage or A343 Copy Cloud Object.
  • destinationRef (cloud.download-target): Set an absolute Download destination path when no cloud.download-target output is connected.
  • providerCredential (credential.secret): optional; connect the output from A321 Read Secret or A322 Write Secret or A324 Get Environment Secret.

Outputs

  • fileRef — Downloaded cloud file: text (cloud.downloaded-file); checked before the workflow continues.
  • bytes — Bytes: number; checked before the workflow continues.
  • fire — Fire: true after successful execution.

Settings

A connected output from an earlier block takes precedence over the corresponding setting.

IDSettingControlDefaultBounds
destinationPathDownload destination pathtextnonerequired when destinationRef is not connected; maximum bytes 4096
providerEndpointProvider endpointtextnonerequired; maximum bytes 2048
providerTimeoutMsProvider timeoutnumber60000minimum 1000; maximum 300000

Error handling

  • Invalid input stops before the request. Connection, timeout, cancellation, sign-in, provider, and response failures are reported separately.
  • If a connected output is expired or belongs to another workflow run, the message tells you which connection to replace. If a required setting is missing, the message names that setting.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
destinationPathDownload destination pathtextNot set—
providerEndpointProvider endpointtextNot set—
providerTimeoutMsProvider timeoutnumber60000—