FtpClientConnection.Close Method ()


Closes the FTP connection.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public void Close()

The following code example checks to see if the FtpClientConnection is connection. If so, the connection is closed using Close.

// Close the connection to the FTP Server, if it is connected.
if (ftpClientConnection != null)
Return to top