Y-modem is not compatible with existed implementations (e.g. Windows HyperTerm).
Open Date: 2014-11-21 00:00
Letztes Update: 2015-02-02 13:10
Reporter: | mlukoshkov | Eigentümer: | (None) |
---|---|---|---|
Priority: | 5 - Medium | MileStone: | Tera Term 4.86 (closed) |
Type: | Bugs | Severity: | 5 - Medium |
Component: | Tera Term | Status: | Closed |
Resolution | None |
Details
Hi,
I tried to use TeraTerm to send files via y-modem protocol.
Unfortunately, it was not working.
I have checked the code and found several issues:
1) First packet size with filename, timestamp, etc. should be 128 bytes, not 1024.
2) The same for the last zero-filled packet.
3) Unnecessary read loop in YSendPacket should be removed as sometimes it prevents successful file upload.
I have attached a patch which fixes all described problems and cleanup YSendPacket a little.
Thanks,
Max
Kommentar
fixed archive is here.
http://ttssh2.sourceforge.jp/snapshot/snapshot-20150202.zip