Author Topic: ZMODEM suspicious behavior  (Read 2678 times)

Kolan

  • Newbie
  • *
  • Posts: 14
    • View Profile
ZMODEM suspicious behavior
« on: June 11, 2009, 06:10:56 am »
Hello!

I'm still exploring your TnrZModem component and have noticed some strange things.

1. The case of the uploaded files names always becomes lower. For example file “CutChart.png̈” becomes “cutchart.png̈” after transmission.

2. Big files are transmitted in blocks:


And after each block, if I got it right, TnrZModem instance waits for some answer. Bad thing is that this pause is very long (several seconds). This makes big files transmission extremely long. 
ZOC terminal (http://www.emtec.com/zoc/), in contrast, sends all data in one piece.


Is it normal and can this behavior be changed?

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: ZMODEM suspicious behavior
« Reply #1 on: June 11, 2009, 10:10:34 am »
Hello

Thank you for your detail information.

Please check that TnrComm.TraceStates has tsRxChar and tsTxEmpty value.

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Kolan

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: ZMODEM suspicious behavior
« Reply #2 on: June 15, 2009, 02:27:15 am »
Yes, TraceStates property was empty. I've set values you've provided (FCommPort.TraceStates := [tsRxChar, tsTxEmpty];). File is now send in one pice — thanks. What about file names, they are still converted to lower case?

And one more thing. I tried to send empty file, and transmission failed. The log look like this:


Looks like the receiving device hasn't got the correct answer.