Hevea documentation

Node.Rename Method 

Changes the node node.

public void Rename(
   Credential user,
   string name
);

Parameters

user
user credential
name
new node name

Exceptions

Exception Type Condition
ArgumentNullException name is null
ArgumentException a node with the same name already exists
NotImplementedException a not empty directory cannot be renamed or the node is dynamic and the RenameNodeDelegate has not been set
UnauthorizedAccessException thr directory is write-protected

See Also

Node Class | Hevea.Core.Ftp Namespace