SFTP

Frends.SFTP.ReadFile / 3.1.0

Summary

Fetches one file's content from an SFTP server into the Process, as text or bytes, without writing to disk.

Typical use — small control or manifest files whose content decides what a Process does next

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Source transfer options

Name Type Default Example Description
Path String / /destination

Full path of the target file to be read.

FileEncoding FileEncoding ANSI FileEncoding.ANSI

Encoding for the read content. By selecting 'Other' you can use any encoding.

Possible values:

  • UTF8: Encoding for the read content. By selecting 'Other' you can use any encoding.

  • ANSI: Encoding for the read content. By selecting 'Other' you can use any encoding.

  • ASCII: Encoding for the read content. By selecting 'Other' you can use any encoding.

  • WINDOWS1252: Encoding for the read content. By selecting 'Other' you can use any encoding.

  • Unicode: Encoding for the read content. By selecting 'Other' you can use any encoding.

  • Other: Other enables users to add other encoding options as string.

EnableBom Boolean False true

Additional option for UTF-8 encoding to enable bom.

EncodingInString String iso-8859-1

File encoding to be used. Encoding don't support any unicode encoding. It only support the code page encodings. A partial list of possible encodings: https://en.wikipedia.org/wiki/Windows_code_page#List.

An unhandled error has occurred. Reload 🗙