'Declaration Public Sub RenameFile( _ ByVal currentFilename As String, _ ByVal newFilename As String _ )
'Usage Dim instance As FtpClient Dim currentFilename As String Dim newFilename As String instance.RenameFile(currentFilename, newFilename)
public void RenameFile( string currentFilename, string newFilename )
Parameters
- currentFilename
- The name of the file or folder to rename. Some FTP servers may be case-sensitive. Not all servers support renaming folders.
- newFilename
- The new name. Some FTP servers may be case-sensitive.