LumiSoft Mail Server User API
RenameFile Method (oldFileName, newFileName)
Namespaces > LumiSoft.Net.FTP.Client > FTP_Client > RenameFile(String, String)
Renames specified file or directory.
Syntax

C# | Visual Basic | Managed C++

    public void RenameFile (
    	string oldFileName,
    	string newFileName
    )

    Public Sub RenameFile ( _
    	oldFileName As String, _
    	newFileName As String _
    )

    public:
    void RenameFile (
    	String^ oldFileName,
    	String^ newFileName
    )

Parameters

oldFileName (String)
  File name of file what to rename.
newFileName (String)
  New file name.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)