This is a question more related to the infrastructure architecture you are planing to deploy. It is feasible, of course, but polling has the disadvantage that if the delay is to small your AE would poll the ftp server unnecessarily often, and if it is to long then you might miss data delivered by your device (to the ftp server). Alternatives could be:
- The ftp server notifies your AE
- Your AE implements the ftp server and would then be able to directly react on new data events.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…