From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,201f81685e4873bd X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-02-22 18:27:48 PST Path: sparky!uunet!gatekeeper.us.oracle.com!decwrl!lll-winken!ptavv.llnl.gov!oberman From: oberman@ptavv.llnl.gov Newsgroups: comp.sys.dec Subject: RE: VAX to VAX binary ftp !!!!!!!!!!! Message-ID: <151066@lll-winken.LLNL.GOV> Date: 23 Feb 93 02:27:48 GMT References: ,<1993Feb22.155412.12180@vax.oxford.ac.uk> Sender: usenet@lll-winken.LLNL.GOV Organization: Lawrence Livermore National Laboratory Nntp-Posting-Host: ptavv.llnl.gov >From: atmos@vax.oxford.ac.uk >Subj: VAX to VAX binary ftp !!!!!!!!!!! >Date: 22 Feb 93 15:54:12 GMT > > >I was wondering if someone could help with a VAX to VAX FTP transfer that I >currently can't get to work. > >I have a binary file on SITE_1 which I would like to FTP to SITE_2 using a >binary FTP transfer. The assumption made in binary mode is that the file is a byte stream (Unix-like) and the output is created accordingly. Decent TCP/IP implementations make use of the STRUCTURE VMS option which will transfer teh file correctly in all cases between VMS systems. (Note: UCX did not support this last I looked.) >Now I had hoped to use the DECUS program > >ATTRIBUTE/RATTRIB=IMPLIED/RTYPE=VARIABLE TEST.BINARY > >to fix the file attributes back again. But even after doing this the binary file >is still unreadale. Is there anything else I have to do to make it work? >Many thanks to anyone who has the time to reply, > >yours very confused, No, converting the stream to the correct type with attribute will do no good. The relevent records information is lost already. There is no reasonable way to recover it. If a transfer of the file without the "binary" also fails, you are stuck with "ASCIIfying" the file in some manner. Several VMS utilities such as MFTU and ZIP will do the job. I think they are available from FTP.SPC.EDU in the [.MACRO32.SAVESETS] directory. R. Kevin Oberman Lawrence Livermore National Laboratory Internet: koberman@llnl.gov (510) 422-6955 Disclaimer: Don't take this too seriously. I just like to improve my typing and probably don't really know anything useful about anything.