|
Garamond,
This is a snipit from a CL using a command "RUNFTP" which was set up
to prevent sending the PW accross in plain site, I do not know a great
deal about how it works, in any case, the syntax for FTP is the same.
For this instance, the file has been placed in QTEMP/CCMSFTP by the
CL, the name of the member in the file is &NEWNM.
Hope this helps.
RUNFTP SYSTEM(&SYSTEM) USER(&USER) PASSWORD(&PW) +
FILELIST((QTEMP/CCMSFTP *FIRST &NEWNM +
*PUT)) TYPE(*ASCII) /* PASSTHRU */
______________________________________________________________________
___
Howard Weatherly
hweatherly@dlis.dla.mil
howard.weatherly@ctg.com
hweath@ibm.net
X4324
<<Untitled>>
- From: "R.L.J.T.Heijden" <graftak@xxxxxxx>
- Date: Thu, 12 Nov 1998 07:57:56 -0500
Hi, The problem I have might seem trivial to all you AS-400 guru's out there. How can I automate a transfer via FTP-put from our AS-400 to our UNIX box. Manual FTP works fine, but Red Book 78 (TCP/IP) say's it can be done through FTP-script from whitin a CL program. Since my knowledge of the AS-400 is second to none I beg of you : Is there someone out there who is willing to help me PLEASE ? Rob, ( willing, but not so gifted ) --- Sent through Global Message Exchange - http://www.gmx.net +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.