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

RenameFile

Renames a file on a remote SMB share.

Task version: 2.2.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

Path : String

Path to the file to be renamed.

Default: - Example: folder\oldfile.txt

NewFileName : String

The new filename including extension.

Default: - Example: newfile.txt

Task Result

Name
Description

Success : Boolean

Indicates if the task completed successfully. Example: true

NewFilePath : PathString

Full path of the file after the rename operation. Example: Folder/SubFolder/document.txt

Error : Error

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

Task Changelog

Changelog for Task Frends.Smb.RenameFile.

[2.2.0] - 2026-06-26

Changed

  • Username parsing: now accepts a username without a domain instead of throwing an error.

[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-07

Added

  • Initial implementation

Last updated

Was this helpful?