Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: oberman@ptavv.llnl.gov
Subject: RE: VAX to VAX binary ftp !!!!!!!!!!!
Date: 23 Feb 93 02:27:48 GMT	[thread overview]
Message-ID: <151066@lll-winken.LLNL.GOV> (raw)
In-Reply-To: 1993Feb22.155412.12180@vax.oxford.ac.uk

>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.


  reply	other threads:[~1993-02-23  2:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-02-22 15:54 VAX to VAX binary ftp !!!!!!!!!!! atmos
1993-02-23  2:27 ` oberman [this message]
1993-02-23 13:08 ` Steve McKinty - Sun ICNC
1993-02-23 23:05 ` Bernhard Fabricius
1993-02-24 11:04   ` Per Steinar Iversen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox