SFTP

Frends.SFTP.ReadFile / 3.2.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
3.2.02026-10-21
Changed
  • An empty or unknown encoding name now gives a clear error message ("Unknown encoding: '...'") instead of the default .NET message.
3.1.02026-02-05
Added
  • Added support for binary files
3.0.02026-01-27
Changed
Breaking
  • Updated dependency SSH.NET to the newest version 2025.1.0.
  • Drop DSS support
2.4.02026-01-13
Fixed
  • Operation timeout is now using the Connection.ConnectionTimeout parameter.
2.3.02025-01-10
Fixed
  • Fixed issue with ConnectionInfoBuilder having static properties for connection and input parameters which lead to Task not being thread safe.
2.2.02024-08-19
Updated
  • Updated Renci.SshNet library to version 2024.1.0.
2.1.02023-12-22
Updated
  • Breaking Updated dependency SSH.NET to the newest version 2023.0.0.
Changed
  • Changed connection info builder to create the connection info as it's done in DownloadFiles.
  • Breaking Changed PrivateKeyFilePassphrase parameter to PrivateKeyPassphrase and enabled it when PrivateKeyString was used.
2.0.12022-12-01
Updated
  • Updated dependency Microsoft.Extensions.DependencyInjection to the newest version.
2.0.02022-11-09
Added
  • Added keyboard authentication method
  • Breaking Added parameter for keyboard authentication
  • Added more tests e.g. Serverfingerprint tests
  • Added System.Text.CodePages NuGet to the project
  • Added ConnectionInfoBuilder
  • Added HostKeyAlgorithm enum
1.0.22022-06-23
Changed
  • Changed the main method to read from a file.
  • Updated tests
1.0.12022-06-20
Changed
  • SSH.NET version upgrade from 2020.0.1 to 2020.0.2
1.0.02022-03-25
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙