How to disable the WEB Server, FTP Server in the M40 compact module


#1

I tried to disable the WEB Server and FTP Server of the M40 compact com module by:

  1. Setting the ETN_OBJ_ENABLE to TRUE in abcc_obj_cfg.h
  2. Setting ETN_IA_ENABLE_WEB_ENABLE, ETN_IA_ENABLE_WEB_ADI_ACCESS_ENABLE, ETN_IA_ENABLE_FTP_ENABLE and their VALUEs to FALSE.

It doesn’t work. The WEB Server and the FTP server still functional.

How can I disable the WEB Server and the FTP Server?


#2

Hello Derek,

You might have some of these values mixed up you will want to set. You want to have *_ENABLE parameters set to TRUE then disable them with the *_VALUE.

/*
** Attribute 3: Enable Web Server  (BOOL - TRUE/FALSE)
*/
#ifndef ETN_IA_ENABLE_WEB_ENABLE
   #define ETN_IA_ENABLE_WEB_ENABLE                TRUE
   #define ETN_IA_ENABLE_WEB_VALUE                 FALSE
#endif

Deryck


#4

Thanks.