-
Notifications
You must be signed in to change notification settings - Fork 61
added ymodem send support #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Wanted to drop in and thank you for the contribution, @tesch1. We were always aware that ymodem is a small expansion of the xmodem protocol code, but this small difference of multiple filenames does not pair with our original XMODEM class API very well. I think you have seen some of this difficulty in the code you have written. We'll accept this code eventually, but we'll need an API change to do so, and this will have be done with some consideration. I would also need a pairing A |
|
How would you suggest doing the send() api? |
updated for python 3.0. Thanks for the patch!
|
Sorry to take so long (7 years!), but I'll certainly consider merging this ymodem send-only support for the moment. It was the missing of recv(), and any automatic tests, that prevented this from merging for previous release, but anyway maybe I can afford the time in the coming weeks. |
|
Thank you @renbingcheng, sorry that you duplicated this work. Note that there is a YMODEM library fork of this one by @jackjack821, it supports receiving files and has documentation, https://github.com/jackjack821/ymodem-python -- although I don't think it supports sending multiple files like this PR #24 does. I do believe sending and receiving multiple files is a primary requirement for "Y-MODEM support".. This PR #24 is more complete and so it is preferred over #59. It contains some documentation and support for multiple files while #59 only supports sending one file at a time, I don't even really mind that the comments are not in english, but that there is not any documentation, in the README or API "Docstrings" to indicate how to send a YMODEM file. In any case, over the last nine years my attitude on publishing quality open source code with automatic test coverage is deteriorating. If I have to chose one PR, I chose this one, and I can merge and release it without tests. @renbingcheng if could you test it manually and let me know if it is successful, then I'll then merge this #24 and release to pypi. |
maybe this will be useful for someone