For the complete documentation index, see llms.txt. This page is also available as Markdown.

MoveFiles

Moves files between directories on SMB share.

Task version: 2.2.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

SourcePath : String

Source path relative to the share where files will be moved from.

Can be a directory path or a specific file path.

Default: - Example: documents/reports

TargetPath : String

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

Must be a directory path.

Default: - Example: backup/reports

Task Result

Name
Description

Success : Boolean

Indicates if the task completed successfully. Example: true

Files : List<FileItem>

List of files that were successfully moved, including their source and target paths. Example: [{SourcePath: "documents\report.txt", TargetPath: "archive\report.txt"}]

Error : Error

Error that occurred during task execution. Example: object { string Message, Exception AdditionalInfo }

Task Changelog

Changelog for Task Frends.Smb.MoveFiles.

[2.2.0] - 2026-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.0] - 2026-04-23

Fixed

  • Input parameters treated as normal string instead of PathString type.

[2.0.0] - 2026-04-08

Added

  • New connection parameters that defined what servers Operating System.

  • [Breaking Change] Introduce PathString type that will represent paths with OS specific separators.

[1.0.0] - 2025-11-12

Added

  • Initial implementation

Last updated

Was this helpful?