bro,
ftp from which machine to which machine? AIX to windows or windows to AIX, automation of ftp from AIX has already been posted previously, please scroll some pages here and you'll find, if you need further assistance, just let us know
have a nice day!
hi aixuser53:
you can run ftp in the foreground or backgroud:
ftp -n < ftp.in > ftp.out&
you ecen can logout from your session if you put the
nohup ftp -n < ftp.in > ftp.out&
ftp.in contains the ftp command:
open <internet address of the target computer>
user <username> <passwd>
put file
get file
quit
ftp.out will contain the message produced
by the actions of ftp.
Example:
#cd /tmp/userhome
#pwd
/tmp/userhome
#cat test
open 192.168.16.205
user root root
bin
prompt
hash
cd /tmp
mget net*
quit
#ftp -n < test
hope can help you.........bye.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.