FlowmageDocs

Download file

BetaReads data

Downloads one file from an OTYS dossier.

Settings

SettingWhat it is
ConnectionRequiredThe OTYS connection the step signs in with.
File OUIDRequiredThe dossier row's `id_rec` — the List dossier files node hands it to you.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `otys`)
fileOuidtext

Output

FieldType
nameFile namestring
contentTypestring
base64File contents (base64)string
sizeSize in bytesnumber
Sample output, and the expression for each field
  • base64""
  • contentType""
  • name"o1"
  • size0

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "fileOuid": "<file ouid>"
  },
  "label": "Download file",
  "type": "otys.downloadFile",
  "version": 1
}