HP3000-L Archives

December 2003, 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:
Glenn Mitchell <[log in to unmask]>
Reply To:
Glenn Mitchell <[log in to unmask]>
Date:
Thu, 18 Dec 2003 09:32:53 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
 Perhaps I missed something, but why not:

!job ftp,user.account
!ftp
open [ip address]
user [login name]
[password]
exitonerror
:# following command not necessary if files will sit in login root
directory.
cd [directory]
put [local file 1] [remote file 1]
put [local file 2] [remote file 2]
put [local file 3] [remote file 3]
quit
!if ftplasterr <> 0 then
!  # place error reporting code here.
!  endif
!eoj

If you have STREAMX, you can prompt for the password so that it is not
stored in the JCL.  Just replace "[password]" with ?Password for login
name?.

Regards.

Glenn

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

ATOM RSS1 RSS2