Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT
.........................................................................................
The above script is run on AIX server to FTP files from AIX server to local system with windows xp.
My AIX server doesnot recognise the HOST.
If I ping the IP address(52.234.13.33) corresponding to HOST, the AIX server get response from this IP.
But if I use FTP 52.234.13.33 from AIX server, I get error.
Error is:
ftp: connect: A remote host did not respond within the timeout period.
I would like to know what am I missing in the script.
Why is AIX server is not able get response from the local system(windows xp) ?
OR Do I need to configure my local system with the help of
admin....to be able to ftp files from UNIX AIX server to it ?
Any help is this regards is appreciated ...
Thanks a lot friends..
raj.