[Hilo] What’s the best way to know the end of FTP download?


#1

Answer: When use KFTPRCV, If the 2 conditions below are matched, we can know that it’s the end of the file.

  1. <EOF_PATTERN> is detected;
  2. DCD changes from ON to OFF.