[Info-vax] Potential loss of data problem in sftp client in TCP/IP Services ?
Albrecht Schlosser
vms-news at go4more.de
Mon Mar 12 11:34:27 EDT 2012
On 12.03.2012 16:12, Simon Clubley wrote:
> I am experiencing a file truncation problem with a TCP/IP engineering
> image version of the TCP/IP Services sftp client and I am wondering
> if anyone here can reproduce it.
>
> Try using the sftp client to send something small (so that it's easy to
> check; I am using my login.com) to a Linux sftp server.
>
> When I do this (both in "ascii dos" mode and binary mode) the last
> few dozen bytes of my login.com are lost during transfer.
I can't help with your particular question, but is this "few dozen
bytes" potentially related to the number of lines in the file, maybe
with a factor of 1, 2, or 4? This would be a hint that it has to do
with file organization and/or [CR/]LF "translation". It could also
be related to even or odd record sizes (1 byte padding in text files).
I'd do another test with a stream lf file to check as well.
Just a thought...
Albrecht
More information about the Info-vax
mailing list