HP3000-L Archives

April 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stigers, Gregory - ANDOVER" <[log in to unmask]>
Reply To:
Stigers, Gregory - ANDOVER
Date:
Fri, 11 Apr 1997 17:54:23 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (103 lines)
Don't give up on the put just yet!

From your ftp prompt on your Vax, issue a remotehelp. The HP FTPMON
should give you:
214-HP ARPA FTP SERVER recognizes the following commands (* -
unimplemented):
<snip>

And literal or quote help <commandname> give you, for the following 4
char remote commands:
214 Syntax: SITE <sp> HELP | MPE/iX | BUILDPARMS file-name | USER_LABELS
file-name [ <number> ] | STREAM file-name
214 Syntax: STRU  <sp> (specify file structure)

Either of these should allow you to, from the Vax, tell the FTPMON what
you buildparms want to use.

Of course, help put, et al, should tell you what the Vax will and will
not let you do from there. So Vax ftp doesn't like commas! Sheesh. As I
note below, try semicolons.

Also checkout the following from the HP ftp prompt:
ftp> help buildparms
BUILDPARMS

HP ARPA FTP supports a subset of the MPE/XL build parameters implemented
by the MPE/XL BUILD command.  Accordingly, many of the build parameter
defaults are overridden by FTP.  The FTP build parameter defaults are
configured in the ASCII file BLDPARMS.ARPA.SYS and may by modified as
desired.  Also, users may make local copies and set their own defaults
via a file equation like the following.

    :FILE BLDPARMS.ARPA.SYS=MYFILE

Read BLDPARMS.ARPA.SYS for more information.  For further details
and examples about build parameters refer to Chapter 6 in HP ARPA File
Transfer Protocol User's Guide (36957-61002).

----
This BLDPARMS file then has:
print BLDPARMS.ARPA.SYS
;REC=-80,,F,ASCII;DISC=204800
;REC=-256,,V,BINARY;DISC=204800
;REC=,,B;DISC=16384000

Note: only the first three lines are read; everything after them is
ignored.

You may modify the first three lines as long as you keep the same
syntax.
I.e., you may change the numbers, or F to V, but don't add anything
bizarre.
Anything after a space is ignored, so don't insert any spaces.  If the
file
is missing (or any line in it), the old hard-coded defaults will be used
as a back up.  These are:
   ;REC=-80,,F,ASCII;DISC=204800   for ASCII mode,
   ;REC=-256,,V,BINARY;DISC=204800 for binary mode.
   ;REC=,,B;DISC=16384000          for byte stream mode.
Also, if either the REC= part or the DISC= part of either line has bad
syntax,
the default for that part will be reverted to.

Users may make local copies of this file and set their own defaults via
a
file equation:
   :file bldparms.arpa.sys=myfile

----
And CH 6 in HP ARPA File Transfer Protocol User's Guide has:
The third example shows a remote user transferring a file from their
system to an MPE XL system using BUILD parameters as follows:

     ftp> PUT myfile MPEFILE;rec=-252;DISC=11000;CODE=PROG

----
This is using semicolons.

>----------
>From:  Karl Hancock[SMTP:[log in to unmask]]
>Sent:  Friday, April 11, 1997 4:38 PM
>To:    [log in to unmask]
>Subject:       [HP3000-L] FTP from DEC to HP, #2
>
>Thanks for the responses regarding my question about ftp'ing from a DEC
>Vax, running
>VMS 5, to an HP3000 running MPE/ix 5.0.
>
>Yes, a get from the Vax to the HP works OK.  Scheduling issues made us
>prefer a put but we can live with a get.
>
>Trying the command:
>
> put dmba.lis testfile;rec=-977,,f,ascii   (no quotes)
>
>gave the error, on the Vax:
>list of parameter values not allowed, check use of comma
>
>Thanks and I will  send reports of any more progress.
>
>Karl
>

ATOM RSS1 RSS2