c0m4
c0m4

Reputation: 4453

What serial file transfer protocol to use?

I'm looking for some input on witch file transfer protocol to use over a serial line. I want to be able to transfer files of max 200 Mb size over a serial line (RS232) in both directions, but only one of the machines needs to be able to initiate the get/put (think master-slave).

The protocol also needs to be:

Kermit? TFTP? Simplest possible home brew? What do you think?

Upvotes: 6

Views: 9950

Answers (1)

Steve Weet
Steve Weet

Reputation: 28402

In the beginning was the Xmodem, which was very simple to implement. Chuck Forsberg looked at the xmodem and decided it was inefficient, so he begat the Ymodem, but it's implementations were buggy and both x and ymodem were replaced with Zmodem.

Kermit followed on later. Kermit would probably be the "Standard" way to implement this. Do you have access to libraries for Kermit that will run on your embedded platform? If not I would probably consider one of the other options.

If ease of implementation is your primary concern then Xmodem wins hands down.

Upvotes: 4

Related Questions