i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue.
error message :
--------------
$ /home/itaadmin/ITA_Test/current/ITAUpdateTicketJob.sh
ftp: connect: Connection refused
Not connected.
Not connected.
Not connected.
Not connected.
shell script program
---------------------
ftp -inv <ipadress> <<EOF
quote USER <username>
quote PASS <password>
ls
get C:\IAT\Doc forITA\709_LN_MAS.csv
bye
EOF
chmod 777 709_LN_MAS.csv
exit