Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: bear@nuc.anu.edu.au (Bernhard Fabricius)
Subject: Re: VAX to VAX binary ftp !!!!!!!!!!!
Date: 23 Feb 1993 23:05:27 GMT	[thread overview]
Message-ID: <1meajoINNmte@manuel.anu.edu.au> (raw)
In-Reply-To: 1993Feb22.155412.12180@vax.oxford.ac.uk

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]


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      |



  parent reply	other threads:[~1993-02-23 23:05 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
1993-02-23 13:08 ` Steve McKinty - Sun ICNC
1993-02-23 23:05 ` Bernhard Fabricius [this message]
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