MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2003

Re: Copy files from Unix box to IFS



fixed

James Rich wrote (replied):

The easy way is to have the unix box do the sending since unix has much
better scripting capabilities.  Here is something we do:

#!/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

I know you said you want it to run on the AS/400, but I think having
unix do it is easier.  Nothing fancy is required.  You can have ftp make
whatever directories you want.  You can also do the NFS stuff other
mentioned.  In that case I would still have unix manage things simply
because the unix scripting tools are better.

James Rich

This would be a good solution but I have one problem: the unix box is a
custom 3rd-party product to administer e-mail/firewall/web server functions
and as such it has no sort of "command interface" available to the
administrator.  So, I'm sort of stuck with doing the transfer from the
destination end.  Again, I'm ignorant right now on FTP and Unix so I could
be missing something in your reply.

Thanks to everybody who replied for the help.

Buzz Fenner
Systems Analyst/Network Administrator
Phone: 870.930.3374
Fax: 870.930.3376
bfenner@xxxxxxxxxxxxxxxx







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact