HP3000-L Archives

September 2006, Week 1

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:
Friedrich Harasleben <[log in to unmask]>
Reply To:
Friedrich Harasleben <[log in to unmask]>
Date:
Thu, 7 Sep 2006 09:49:32 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
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 *

ATOM RSS1 RSS2