Programming arduino mega 2560 with FTDI adapter

I have a board Arduino mega 2560 with a broken USB adapter.

Question: is it possible to upload a sketch with a FTDI/USB adapter? If yes, how?

https://forum.arduino.cc/index.php?topic=330195.0