Smb

Frends.Smb.DeleteFiles / 2.5.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

Essential parameters.

Name Type Default Example Description
Path String folder/subfolder/

Path to the file or directory to delete, relative to the share. If a file path is provided, only that file is deleted. If a directory path is provided, only files located directly in that directory are deleted.

An unhandled error has occurred. Reload 🗙