From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1164f8,201f81685e4873bd X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-02-23 15:05:27 PST Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!howland.reston.ans.net!zaphod.mps.ohio-state.edu!swrinde!network.ucsd.edu!munnari.oz.au!metro!usage!sserve!manuel.anu.edu.au!manuel.anu.edu.au!usenet From: bear@nuc.anu.edu.au (Bernhard Fabricius) Newsgroups: comp.sys.dec Subject: Re: VAX to VAX binary ftp !!!!!!!!!!! Date: 23 Feb 1993 23:05:27 GMT Organization: Nuclear Physics, ANU Distribution: world Message-ID: <1meajoINNmte@manuel.anu.edu.au> References: <1993Feb22.155412.12180@vax.oxford.ac.uk> Reply-To: BEAR@NUC.ANU.EDU.AU NNTP-Posting-Host: 150.203.19.47 In article <1993Feb22.155412.12180@vax.oxford.ac.uk>, atmos@vax.oxford.ac.uk writes: > >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 file attributes of the original file are [Stuff deleted] >but by the time it reaches SITE_2 the file attributes are [Stuff deleted] >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, Paul, "binary" FTP transfers is a bit of a sticky point unless you have a TCP/IP product that supports the STRU VMS instruction which transfers the VMS file structure as well. "Binary" mode only really works for fixed length records, and only if the fixed lenght is 512 bytes are you able to use the file right away. But don't despair! What you should do is to backup your file into a VMS Saveset: $ BACKUP TEST.BINARY TEST.BCK/SAVE Next you transfer this saveset in BINARY mode, and on arrival at the other end, you use the DECUS program to set the record length back to the 32256 bytes used by backup to disk. Finally, you simply unfold your saveset: $ BACKUP TEST.BCK/SAVE [] and you're done! In this way, you can transfer any number of files in any of RMS's sm�rg�sbord of formats. ("smorgasbord" in case you don't have an 8-bit news-reader..._ Cheers Bernhard -------------------------------------------------------------------------------- Dr Bernhard Fabricius | Academic VAX/VMS Support | "I am a Bear of Very Little Brain, Department of Nuclear Physics | and long words Bother me." Australian National University | | - A.A. Milne InterNet: BEAR@NUC.ANU.EDU.AU | POSTMASTER@NUC.ANU.EDU.AU |