|
On Thu, 25 Sep 2003, Buzz Fenner wrote: > > I'm needing to write a procedure that can be scheduled to run at night that > copies e-mail backup files from a combo e-mail server/firewall (it has no > command interface) to a folder on the IFS. A new folder will have to be > created each week for the seven daily backup files. I have no experience > with FTP and was beginning to take a look at Qshell. QShell and FTP are different things. You could use QShell in conjunction with NFS to copy your files. Or, you could use FTP to copy them. Either one should work. > I'm open to suggestions that will get me pointed in the right direction > and I would like it to be a program/procedure that executes on the > AS/400 (v5r2m0). Information on the OS/400 FTP client can be found in the Information Center under: Networking / TCP/IP / FTP / Use the FTP client on iSeries (or click this link:) http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/rzaiq/rzaiqrzaiqclient.htm In your case, you'll want to pay particular attention to the section on "Batch FTP" as it describes how to write a "script" for the FTP client to do things in an unattended environment. Also, if you find IBM's FTP client to be limiting (as I have) then you might be interested in my FTPAPI open source project. You can find more about that here: http://www.scottklement.com/ftpapi/ If you download the save file, you'll find example source members (they're the ones that start with "TEST") which demonstrate a few of FTPAPI's capabilities. The documentation is a bit thin, but there's a mailing list if you have questions. (you can find the list on the same link, above) Good Luck
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.