ComponentPro UltimateFtp

      Close a connection

      Language Filter: AllSend comments on this topic to ComponentPro

      To close a connection, simply call the Disconnect or DisconnectAsync method of the Ftp class. The following steps show you how to close a connection with the Disconnect method.

      // Disconnect.
      client.Disconnect();