FTP

Frends.FTP.ReadFile / 1.2.0

Summary

Fetches one file's content from an FTP or FTPS server into the Process, decoding it as text, without writing to disk.

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

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Input parameters.

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: Represents UTF-8 text encoding.

  • ANSI: Represents ANSI encoding.

  • ASCII: Represents ASCII encoding.

  • UTF16: Represents UTF-16 encoding.

  • WINDOWS1252: Represents Windows-1252 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 🗙