In FTP python example I found testing DCD state together with checking “NO CARRIER” or “CONNECT” string in command response, but I did not find any information about DCD checking in #FTP commands description. Is it necessary to check DCD state or checking command response is sufficient? When should I check DCD state together with checking command response generally?
DCD is an alternative (and faster) method to check connection status. You can choose to not use DCD and use for example timeouts .
may I ask which FTP python example are you referring to? Is it publicly available?
I got these examples from our distributor. For distributors and direct customers they are downloadable from Telit web site.
Hit enter to search or ESC to close
Knowledge Base & Download Zone