You can use use z-modem protocol in the terminal you are using to connect the board.
First you need to connect the board and run "rz" utility. It will wait for the file to be sent.
Then you need to transfer the file from the terminal.
For example in minicom you need to press Ctrl+A and Z and then S for this option.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------