Subject: | |
From: | |
Reply To: | |
Date: | Thu, 7 Sep 2006 09:49:32 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi
does anyone know how to overcomes this:
I want to gather information on files in different subdirectories, which
have to be retrieved via FTP.
I would like to get all of their names first into msg file.
I tried something like below, but
!ECHO :print ftpbuy1 > ftpXFER >> FTPLIST
turn out to be a problem in the job, if done manually (without redirection
it works).
any idea how to use several rederictions in one commandling.
thankx
friedrich
!JOB FTPTEST, MGR.OEKVT
!file ftpXFER=ftpXFER;msg
!ECHO open !crs_xfer_srv > FTPLIST
!ECHO USER xxxxxx >> FTPLIST
!ECHO yyyyyyy >> FTPLIST
!ECHO EXITONERROR >> FTPLIST
!ECHO cd /users/files/OKPARAG >> FTPLIST
!ECHO ls P* ftpbuy1 >> FTPLIST
!ECHO :print ftpbuy1 > ftpXFER >> FTPLIST
!ECHO cd /users/files/OKPARAG >> FTPLIST
!ECHO ls B* ftpbuy1 >> FTPLIST
!ECHO :print ftpbuy1 >> ftpXFER >> FTPLIST
!ECHO exit >> FTPLIST
!run ftp.arpa.sys < ftplist
!print ftpxfer
!eoj
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|