Example #1
0
 /// <summary>
 ///     Close connection to server
 /// </summary>
 public void Disconnect()
 {
     if (FTP)
     {
         _ftpc.Disconnect();
     }
     else
     {
         _sftpc.Disconnect();
     }
 }
Example #2
0
 public void Disconnect()
 {
     if (FTP)
     {
         ftpc.Close();
     }
     else
     {
         sftpc.Disconnect();
     }
 }