conaito PPT2Flash SDK 3.7

FtpClient.RenameFile Method

Rename a file on the remote FTP server.

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

Parameters

oldFileName
newFileName
overwrite
setting to false will throw exception if it exists

See Also

FtpClient Class | Conaito.PPLibrary Namespace