Depends on how much control you have over the protocol used for serial communication. If the files implicitly include some end-of-file marker (and, as I understand it, they donโt have your post), you need to implement some kind of communication protocol for transferring files.
Some of the simplest punctures used in the days of BBS were XMODEM and its derivatives. They may be simple enough for you.
If you have a fully functional computer on the other end of the serial line, it would probably be much easier to set up a PPP link on the serial line and communicate over TCP / IP.
andri source
share