'Declaration Public Sub TestConnection()
'Usage Dim instance As FtpConnection instance.TestConnection()
public void TestConnection()
'Declaration Public Sub TestConnection()
'Usage Dim instance As FtpConnection instance.TestConnection()
public void TestConnection()
If a connection with an FTP server is not possible, exceptions will be thrown when trying to access properties of the FtpFile and/or FtpFolder instances.
This method always creates a new connection. All connections an FtpConnection object may need to create are kept alive and only closed when the FtpConnection is disposed or garbaged-collected.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2