[Info-vax] scp or sftp: file is "raw", needs to be parsed - possible to work around that?
Gregory Reut
gregory.reut at gmail.com
Wed May 19 13:57:47 EDT 2021
Hi Richard,
Sorry for not mentioning the versions. Here's the scp version info I can get form the executable:
SYSTEM> scp -V
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2002: CRTL version (SYS$SHARE:DECC$SHARE ident) is: V8.3-01
I have one spare disk which is just enough size to keep the iamge backup I need to transfer, so I've reinitialized it with ODS5 and now zipping the saveset and moving it there.
Regarding file size hint - is it enough to use ANALYZE/RMS/UPDATE in the file, or there is anything else (or something different) should be done for it?
Thanks in advance!
Greg
On Wednesday, May 19, 2021 at 2:25:19 PM UTC+2, rvwh... at gmail.com wrote:
> On Wednesday, May 19, 2021 at 7:29:16 AM UTC-4, gregor... at gmail.com wrote:
> > Hi all,
> >
> > Trying to scp a very large file off an Alpha VMS 8.3 system. Larger the file, longer it takes to start the transfer. This scp message in verbose mode gives a clue:
> > SCP Source file is "raw", and it needs to be parsed
> >
> > Parsing a 20GB file takes longer than a standard scp timeout. and I need to scp files 10 times larger.
> > Perhaps there is a way to skip the parsing?
> >
> > Thanks in advance!
> > Greg
> You don't state what SFTP/SCP you are using (TCP/IP Services, MultiNet, TCPware or SSH for OpenVMS).
> The message is misleading. In the software available from Process Software this message is issued when the file attributes have not been fetched and need to be fetched.
> 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.
More information about the Info-vax
mailing list