HP3000-L Archives

December 1999, Week 3

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:
Boris Kortiak <[log in to unmask]>
Reply To:
Boris Kortiak <[log in to unmask]>
Date:
Thu, 16 Dec 1999 17:24:30 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
Sorry, I should have included this code snippet.  Apologies

!SETVAR BK_FTP_FROM "FILE.GROUP.ACCOUNT" 
!SETVAR BK_FTP_TO "FileName.txt"
!SETVAR BK_FTP_DTS "!HPYYYY!HPMONTH!HPDATE!HPHOUR!HPMINUTE"
!SETVAR BK_FTP_SAVE "FileName" + "!BK_FTP_DTS" + ".txt"
!PURGE FTPCMD00.TEMP
!FILE FTPCMD00=FTPCMD00.TEMP;DEV=DISC;SAVE
!ECHO open 999.999.999.999>FTPCMD00
!ECHO user usr pwd>>FTPCMD00
!ECHO rename !BK_FTP_TO !BK_FTP_SAVE>>FTPCMD00
!ECHO ExitOnError>>FTPCMD00
!ECHO put !BK_FTP_FROM !BK_FTP_TO>>FTPCMD00
!ECHO close>>FTPCMD00
!ECHO exit>>FTPCMD00
!CONTINUE
!RUN FTP.ARPA.SYS<FTPCMD00

>>> Boris Kortiak <[log in to unmask]> 12/16/99 04:41PM >>>
Still having problems with the suggested methods for using a VAR in an FTP command.

Apparently we are using a product called STREAMX to stream jobs from a menu.  This doesn't seem to create the temporary file properly.  Therefore I get an error:
"NONEXISTENT PERMANENT FILE (FSERR 52)"
"Couldn't open input redirection file, command failed.  (CIERR 9427)"

I am at a loss for what to do next.  Any suggestions?

TIA

ATOM RSS1 RSS2