package
0.0.0-20230502073429-587acefb9ced
Repository: https://github.com/ayh20/flogo-components.git
Documentation: pkg.go.dev

# README

Read a file to a string

This activity reads the contents of a file and places it in a single string field. It removes all CR/LF chars from the string

Installation

Flogo CLI

flogo install github.com/ayh20/flogo-components/activity/filetostring

Schema

Inputs and Outputs:

{
  "inputs": [
    {
      "name": "filename",
      "type": "string",
      "required": false
    }
  ],
  "output": [
    {
      "name": "output",
      "type": "string"
    }
  ]
}

Settings

| Setting | Required | Description | | :--------- | :------- | :-------------------------------------------------------------------------------------------------- | | | filename | True | The fully qualified filename |