Smb

Frends.Smb.DeleteFiles / 2.7.0

Summary

Deletes files from an SMB share by path or matching pattern, and reports how many went.

Typical use — clearing a spool directory once its contents have been handed on

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.7.02026-09-30
Fixed
  • Corrected the task's copyright metadata.
2.6.02026-09-25
Added
  • Added new KerberosTicketCache authentication mode supporting Kerberos authentication using a pre-existing ticket cache (ccache) file.
Fixed
  • Kerberos authentication now correctly truncates the session key to 16 bytes as required by the SMB specification.
2.5.02026-07-27
Added
  • Added Kerberos authentication support for SMB connections
    • New Connection.AuthenticationMode property with Ntlm (default) and Kerberos options
    • New Connection.KerberosServerName property for specifying the Kerberos SPN hostname when it differs from the TCP connection address
    • New Connection.KdcAddress property for explicit KDC address when DNS SRV discovery is unavailable
    • KerberosNetAuthenticationClient internally handles TGT acquisition, service ticket retrieval, and GSS-API token generation using the Kerberos.NET library
2.4.02026-07-20
Fixed
  • Optimized SMB file handling: fixed lingering locks and adjusted access permissions to prevent sharing violations.
2.3.02026-06-26
Changed
  • Username parsing: now accepts a username without a domain instead of throwing an error.
2.2.02026-05-20
Added
  • Added ContinueOnFailure as a new option � allows the operation to proceed when individual file copies fail, collecting errors in a failures list instead of throwing immediately
2.1.02026-04-23
Fixed
  • Input parameters treated as normal string instead of PathString type.
2.0.02026-04-08
Added
  • New connection parameters that defined what servers Operating System.
  • Breaking Introduce PathString type that will represent paths with OS specific separators.
1.2.02025-11-14
Changed
  • Update pattern matching
1.1.02025-11-11
Changed
  • Update SMBLibrary version to 1.5.4.1.
1.0.02025-11-04
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙