Downloading and uploading the mission using Telemetry

I am building a custom Ground Control Station. I have no expertise in this field. I want to implement Downloading a Mission and Uploading a mission. This Mission Text File would be the format that I want to upload the mission to the telemetry.

Which way is better or the best, Is it using MAVFTP or using MAVLINK to retrieve planned mission. Also I would love if I could get any Boilerplate code for the MAVFTP for communication with the drone.

Thanks :smile:

You are in luck, pymavlink contains a mavftp.py file that you can use. I use it in the ArduPilot Methodic configurator to upload scripts and download parameters.

Thanks!!!

My requirement is to download a planned mission and upload a planned mission in custom GCS. Which way is the best way for doing this operation. Is it using FTP protocol or Mission Protocol?

I would really like to have a starter code for MAVFTP; The setup, the usecase and all. The documentation didโ€™nt help me to understand the overview of this protocol :sweat_smile:. I would be using to download the Parameters just the way you do.