Exemplo n.º 1
0
 /// <summary>
 /// Function Name : SftpRename()
 /// Description   : SftpRename function used for renaming a file on server
 /// </summary>
 /// <param name="NewName">New name of the file</param>
 /// <param name="OldName">Old file name</param>
 public void SftpRename(String NewName, String OldName)
 {
     Thread.Sleep(5000);
     _objSftpClient.Rename(NewName, OldName);
 }