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 *