Smb

Frends.Smb.MoveFiles / 2.4.0

Summary

Moves files between directories on an SMB share. A move is a handover rather than a copy, so the source stops existing.

Typical use — claiming work from a shared drop directory, where the move is what stops another run picking the same file up

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Essential parameters.

Name Type Default Example Description
SourcePath String documents/reports

Source path relative to the share where files will be moved from. Can be a directory path or a specific file path.

TargetPath String backup/reports

Target path relative to the share where files will be moved to. Must be a directory path.

An unhandled error has occurred. Reload 🗙