NetXP 3.0 Reference

FTP.RenameRemoteFile Method 

Rename a file on the remote FTP server. KNOWN PROBLEM: RNTO will not take care of existing file. i.e. It will overwrite if newFileName exist

[Visual Basic]
Public Sub RenameRemoteFile( _
   ByVal oldFileName As String, _
   ByVal newFileName As String _
)
[C#]
public void RenameRemoteFile(
   string oldFileName,
   string newFileName
);

Parameters

oldFileName
Original file name.
newFileName
New file name.

See Also

FTP Class | NETXP.Library Namespace