[Info-vax] difference in files being copied by scp from Unix to VMS

Richard Whalen WhalenR at process.com
Wed Apr 29 08:39:24 EDT 2009


>From the list of qualifiers on SCP2 it appears that you are using one of 
MultiNet, TCPware or SSH for OpenVMS (all are from Process Software).

Were the SCP command issued from the VMS system, the Unix system or a 
combination of the two?

I suspect that the Unix system issued a SCP command to copy the file from 
the VMS system.

The SCP that is part of OpenSSH (which is common on Unix systems) is 
effectively RCP over SSH.  It sends a command to determine the size of the 
file and expects to read the number of bytes reported.  The SCP server 
program provides null bytes after the EOF in order to satisfy the clients 
desire for the number of bytes promised.

The SSH software provided by Process Software includes a server image for 
the RCP over SSH variant of SCP.  When asked for the size of the file it 
provides an estimate rather than reading the file and counting every byte. 
The software should be able to compute the exact size for the stream-lf 
file, but something appears that something cause it to compute the estimate 
on the high side.  (Estimates are never lower than the actual size of the 
file).

I suggest that you contact Process Software customer support for further 
investigation of this problem. 





More information about the Info-vax mailing list