[Info-vax] scp or sftp: file is "raw", needs to be parsed - possible to work around that?

Richard Whalen rvwhalen at gmail.com
Fri May 21 08:57:59 EDT 2021


On Thursday, May 20, 2021 at 1:25:34 AM UTC-4, Volker Halle wrote:
> > The SFTP/SCP file transfer implementation needs the file size before transferring the file. If the file is a VMS text file the file may need to be read to determine the actual length. 
> > Options to reduce this: 
> > - convert the file to stream-lf, which is a native format for SFTP/SCP and will not require counting. 
> > - store the file on an ods-5 disk and have the file length hint set.
> Richard, 
> 
> exactly which information makes SFTP/SCP decide 'it is a VMS text file' ? 
> 
> Volker.

MultiNet/TCPware and SSH for OpenVMS use the file's Record Format and Record Attributes to determine the type of a file.
Though a backup save set may not be confused as a text file, copying it without putting it in a ZIP "container" will lose attributes that would need to be set to use the file.

Though SFTP/SCP will attempt to get the file length hint, I don't recall if it uses it for file size.

I don't know what TCP/IP Services does.



More information about the Info-vax mailing list