|
News/400 had a neat utility back in August 1995. Juilan Monypenny wrote SNDTCPF and RCVTCPF which send and receive files via FTP. These commands generate MONMSGable messages and allow data to be copied *ADD or *REPLACE. HTH, Brian L. At 10:17 AM 7/29/97 -0400, you wrote: >At 05:02 PM 7/28/97 EDT, phcoffin@VNET.IBM.COM wrote: >>From: Peter H. Coffin >>Database Marketing Tools Team >>T/L 665-6298 (414-223-6298) phcoffin@vnet.ibm.com >>Subject: Batch FTP >>Rob writes: >> >>The DOS is tangential to my real problem. The problem being, 'How do I >>automate the receiving of files to my AS/400 from the Internet?' What >>the DOS is teaching me is that piping the password is a trick. >>Does anyone have some clues as to how to do FTP with the AS/400 in batch? >> >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >> >>You build a database file containing the commands that you want to have >>ftp execute, or use SEU to build a source file with those commands. (It >>doesn't matter whether you use a *SRC or *DATA file.) You override the >>default input using OVRDBF (think "pipe") like >> >>OVRDBF FILE(INPUT) TOFILE(MYLIB/MYFTPCMD) >> >>and then start the transfer like >> >>FTP RMTSYS('ftp.apple.com') >> >You can also specify a dummy system name for RMTSYS keyword and then in your >FTP source file issue an OPEN FTP subcommand to the host name (or ip >address). This is handy is you wish to use a single routine for all batch >related FTP with all the system related FTP subcommands in a source (or >data) file. I don't know of any way to overcome the password issue using >this technique. >Carl >Carl J. Galgano >cgalgano@ediconsulting.com >EDI Consulting Services, Inc. >540 Powder Springs Street >Suite C19 >Marietta, GA 30064 >770-422-2995 > >* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >* This is the Midrange System Mailing List! To submit a new message, * >* send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * >* this list send email to MAJORDOMO@midrange.com and specify * >* 'unsubscribe MIDRANGE-L' in the body of your message. Questions * >* should be directed to the list owner / operator: david@midrange.com * >* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >uelab > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. 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-2024 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.