HP3000-L Archives

October 1999, 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:
"Schleicher, Randy (Windsor HQ)" <[log in to unmask]>
Reply To:
Schleicher, Randy (Windsor HQ)
Date:
Thu, 14 Oct 1999 16:46:49 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (75 lines)
You can use HFS filenames via MPE copy.  Copy the MPE file name into
whatever filename you'll be using on your target system.

:COPY FILENAM8,./file_greater_than_eight
:FTP
...
put ./file_greater_than_eight

or you could simply use both parameters of FTP's put statement

:FTP
...
put FILENAM8 file_greater_than_eight


> What if you need to 'put' a file with 8 character name  to a novell server
> but
> renaming the file that which exceeds 8 characters. How can this be done
> from the
> HP3000?
>
>
> ____________________Reply Separator____________________
> Subject:    Re: ftp question
> Author: [log in to unmask]
> Date:       10/14/99 2:59 PM
>
> You're right.  FTP does not replace the variables so... you can ECHO your
> FTP input including the logon, passwords and constructed puts into a file
> named FTPSTDIN and then
> :RUN FTP.ARPA.SYS < FTPSTDIN
>
> > ...
> > :SETVAR _YEAR  RHT ('00' + '!HPYEAR' , 2)
> > :SETVAR _MONTH RHT ('00' + '!HPMONTH', 2)
> > :SETVAR _DAY   RHT ('00' + '!HPDATE' , 2)
> > :showvar _@
> > _YEAR = 99
> > _MONTH = 10
> > _DAY = 14
> > :COPY CUST001,CU!_YEAR!_MONTH!_DAY
> > :FTP
> > File Transfer Protocol [A0008S33] (C) Hewlett-Packard Co. 1990
> > ftp> .....
> >
> > 230 Successful Login
> > ftp> pwd
> > 257 "file://mp/prod/custserv/order_re/" is current directory.
> > ftp> type ascii
> > 200 Type set to A.
> > ftp> put CU!_YEAR!_MONTH!_DAY
> > NONEXISTENT PERMANENT FILE  (FSERR 52)
> > Data Transfer Request Failed.  (FTPERR 13)
> > NONEXISTENT PERMANENT FILE  (FSERR 52)
> > ftp> put CU991014
> > 200 PORT command okay.
> > 150 Opening data connection for CU991014 (192.168.1.1,50481).
> > 226 Transfer complete.
> > 30960 bytes sent in 0.00 seconds (15117.19 Kbytes/sec)
> >
> > Is the variables not working because I am in a program?  Is there a way
> to
> > do define the file name in the jobstream for the ftp process to work?
> >
> > Thanks for any help you may provide.
> >
> > Abraham Zwygart
> > Anodizing Inc.
> > Senior Programmer Analysts     Email: [log in to unmask]
> >
> > The thoughts, comments, and opinions expressed herein are mine
> > and do not reflect those of my employer(s), or anyone else.
> >
>

ATOM RSS1 RSS2