FTP

Frends.FTP.DeleteFiles / 2.0.0

Summary

Deletes files from an FTP or FTPS server, chosen either by pattern within a directory or by explicit paths, and reports what went.

Typical use — cleaning up a partner's drop directory after collecting from it

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.0.02026-09-29
Changed
  • Breaking Changed the error structure when deleting files: the original exception is now rethrown instead of being wrapped.
  • Target framework changed to .NET 8.
  • Added Options parameter with ThrowErrorOnFailure and ErrorMessageOnFailure properties for controlling error handling behavior.
  • Result now includes Success and Error properties. On failure, if ThrowErrorOnFailure is set to false, the Task returns a failed Result instead of throwing an exception.
1.0.02024-02-20
Changed
  • Initial implementation
An unhandled error has occurred. Reload 🗙