Record: InputContent

Configuration for the input given for put and append operations of the FTP module.

Closed record

Fields

  • filePath string
  • Path of the file to be created or appended

  • isFile boolean(default false)
  • true if the input type is a file

  • fileContent stream<byte[ ] & readonly, Error?>?
  • The content read from the input file, if the input is a file

  • textContent string?
  • The input content, for other input types

  • compressInput boolean(default false)
  • If true, input will be compressed before uploading