Smb

Frends.Smb.RenameFile / 2.4.0

Summary

Renames a file on an SMB share and returns its new path.

Typical use — marking a file as claimed or complete in place, a common convention on shared directories

Details

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

Essential parameters.

Name Type Default Example Description
Path String folder\oldfile.txt

Path to the file to be renamed.

NewFileName String newfile.txt

The new filename including extension.

An unhandled error has occurred. Reload 🗙