HP3000-L Archives

September 2007, 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:
Reply To:
Date:
Tue, 18 Sep 2007 11:12:31 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Kim,

You would have to build the FTP command inside your script/job like

Echo open myserv > myfile1
Echo manager.sys passwords>>myfile1
Echo put MMDDYY.12345.yxy >>myfile1
Echo quit >>myfile1

FTP <myfile1

HTH

Dave

Kim Borgman wrote:
> I'm trying to automate an FTP process.  A get.  The file is in
> MMDDYY.12345.txt format.  The numbers "12345" are constant.
>
> So to automate I have tried:
>
> Get !hpmonth!hpdate!hpyear.12345.txt infile.pub
>
> Evidently FTP does not recognize the hpvariables from within FTP.
>
> Anybody with any quick advice ?
>
> Mr. Kim Borgman
> NWS Inc.
> Indianapolis, IN
>  
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>   

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2