diff --git a/MAVProxy/modules/mavproxy_ftp.py b/MAVProxy/modules/mavproxy_ftp.py index 5c2f10ea98..9c5d2a43d0 100644 --- a/MAVProxy/modules/mavproxy_ftp.py +++ b/MAVProxy/modules/mavproxy_ftp.py @@ -147,6 +147,7 @@ def __init__(self, mpstate): self.write_recv_idx = -1 self.write_pending = 0 self.write_last_send = None + self.warned_component = False def cmd_ftp(self, args): '''FTP operations''' @@ -716,7 +717,9 @@ def mavlink_packet(self, m): if mtype == "FILE_TRANSFER_PROTOCOL": if (m.target_system != self.settings.source_system or m.target_component != self.settings.source_component): - # this is not for me + if m.target_system == self.settings.source_system and not self.warned_component: + self.warned_component = True + print("FTP reply for mavlink component %u" % m.target_component) return op = self.op_parse(m)