Using Ymodem file transfer in c#
I am currently searching for an idea to use a ymodem communication on one of my software using c# Framework .NET 2.0.
Does somebody have a solution to do ymodem file transfer in C# ? Because I haven't found anything for now...
Thank you b开发者_开发技巧y advance.
Joe
There is a project on google code (http://code.google.com/p/ymodemdotnet/). I can not speak to it's quality. It would be a start at least.
Here is an Ymodem implementation I wrote. It's still far from perfect, but it works, commented and simple. https://sites.google.com/site/adamficsor1024/home/programming/xymodem
I don't know about YModem, but original XModem (not the non-standard 1k version) is pretty easy to code up on your own with a SOH byte, block#, block, and small checksum.
精彩评论