Kbase 15992: How to transfer VMS files to PSCGATE ftp site
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
How to transfer VMS files to PSCGATE ftp site
How to FTP VMS object files
To FTP VMS .OBJ files the .OBJ file should be put into
a saveset. This saveset is a VMS BACKUP format saveset, and is
created using the VMS BACKUP utility.
$ BACKUP/LOG <file-name>.OBJ [<dir-name>]<file-name>.SAV/SAVE
This saveset can now be FTP'd as IMAGE or BINARY.
Before the restore of the saveset is done the file
attribute must be changed.
$ SET FILE/ATTRIBUTE=LRL:32256 <file-name>.SAV
NOTE: The /ATTRIBUTE qualifier is only available on VMS 6.x.
If the customer is running VMS 5.5-2, this is not an available
qualifier, a tape will have to be made rather than utilize FTP.
Then to restore the saveset:
$ BACKUP/LOG <file-name>.SAV/SAVE [<dir-name>]*.*
8-aug-96
jyt
UPDATE: It has been found in some cases where even resetting the
file attribute does not properly restore the files to a VMS format.
For this reason, You can zip the saveset file to protect the
integrity of the VMS file attributes. The zip and unzip files can be f
ound in USR1:[TECHSUPP] on ALPHA6 for both the ALPHA and VAX platforms
USR1:[TECHSUPP]zip-alpha.exe
unzip-alpha.exe
zip-vax.exe
unzip-vax.exe
1. Define a symbol for the zip program.
zip:==$usr1:[techsupp]zip-alpha.exe
2. Zip the saveset file:
zip "-WV" zipfile saveset
IE. zip "-WV" v81a02 v81a02.bck
This will create a zip file called v81a02.zip. You can then use FTP
and put the file on PSCGATE in BINARY mode for the customer. This
assumes that the customer has the same unzip program available as
free software for the OpenVMS Operating System.
3. FTP the file to PSCGATE
ftp pscgate
> binary
> put v81a02.zip
> close
> quit
The file is now available in /ftp/pub on PSCGATE for the customer to
unzip and then restore from saveset. Please refer above.
Progress Software Technical Support Note # 15992