AutoDialHangUp Method
Class: FTP_SERVICE
Closes a modem connection that was created from an AutoDialInternet function call.
=
Object.AutoDialHangUp
()
Return value Boolean
The return value is .T. if is disconnected from internet or .F. is not.
See also
Expand/Collapse source code of procedure AutoDialHangUp Source Code
      LOCAL fResult
      IF This.LoadAPIFuncs() != ERROR_SUCCESS
         RETURN .F.
      ENDIF    

      =This.BeforeAutoDialHangUp()
      fResult = InternetAutoDialHangUp(0)
      This.GetExtendedError()
      =This.AfterAutoDialHangUp(fResult)

      RETURN fResult # 0