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 whendestinationRefis 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; default60000.
Connections from earlier blocks
objectRef(cloud.object): connect the output fromA339 Upload to Cloud StorageorA343 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 fromA321 Read SecretorA322 Write SecretorA324 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.
| ID | Setting | Control | Default | Bounds |
|---|---|---|---|---|
destinationPath | Download destination path | text | none | required when destinationRef is not connected; maximum bytes 4096 |
providerEndpoint | Provider endpoint | text | none | required; maximum bytes 2048 |
providerTimeoutMs | Provider timeout | number | 60000 | minimum 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.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
destinationPath | Download destination path | text | Not set | — |
providerEndpoint | Provider endpoint | text | Not set | — |
providerTimeoutMs | Provider timeout | number | 60000 | — |
