SFTP

Frends.SFTP.RenameFile / 4.0.0

Summary

Renames a file on an SFTP server, with a choice of behaviour when the new name is taken.

Typical use — signalling completeness to the receiving side, which is the usual convention for an atomic handover over SFTP

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
4.0.02026-11-09
Added
  • Added Success and Error properties to the result. The task can now return Success = false with error details in Error instead of throwing.
  • Added options to return task errors as a result or throw them with a custom message.
Changed
  • Breaking Renamed host key algorithm options to use PascalCase.
  • Updated SSH.NET to 2026.0.0 to a release that addresses known security vulnerabilities.
3.0.02026-01-27
Changed
Breaking
  • Updated dependency SSH.NET to the newest version 2025.1.0.
  • Drop DSS support
2.3.02026-01-13
Fixed
  • Operation timeout is now using the Connection.ConnectionTimeout parameter.
2.2.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.1.02024-08-19
Updated
  • Updated Renci.SshNet library to version 2024.1.0.
2.0.02024-01-03
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.
1.0.02023-05-23
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙
Reconnecting… Connection lost.