LoadAPIFuncs Method
Class: FTP_SERVICE
Description:Load basic API functions
Object.LoadAPIFuncs
()
Remarks
Load basic API functions
See also
Expand/Collapse source code of procedure LoadAPIFuncs Source Code
      * Check to see if We have already declared functions and loaded the DLL
      IF This.lDLL_Loaded  
         RETURN ERROR_SUCCESS
      ENDIF

      This.lDLL_Loaded = .T.

      This.aIOptions(INTERNET_OPTION_CONNECT_TIMEOUT)=3600*1000
      This.aIOptions(INTERNET_OPTION_DATA_RECEIVE_TIMEOUT)=3600*1000
      This.aIOptions(INTERNET_OPTION_DATA_SEND_TIMEOUT)=3600*1000
      This.aIOptions(INTERNET_OPTION_CONNECT_RETRIES)=5
      This.aIOptions(INTERNET_OPTION_RECEIVE_TIMEOUT)=3600*1000
      This.aIOptions(INTERNET_OPTION_SEND_TIMEOUT)=3600*1000

      RETURN ERROR_SUCCESS