>With thisform > If .hConnection # 0 Then > If InternetCloseHandle( .hConnection ) = 0 > .FtpResponse('Error disconnecting.') > Else > .FtpResponse('Disconnected.') > .hConnection = 0 > Endif > Endif >Endwith >