|
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. 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).
#!/bin/sh cd /home/place/we/store/backups ftp remotehost <<END_SCRIPT cd /home/place/to/put/backups binary mput * quit END_SCRIPT exit 0
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.