• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
November 21, 2024, 11:00:27 am

News:

SMF - Just Installed!


ZMODEM suspicious behavior

Started by Kolan, June 11, 2009, 03:10:56 am

Previous topic - Next topic

Kolan

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

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

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.