Shell script to ftp files from windows to unix

Hi ,
I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files from windows to unix box.When I searched in the forum i got the below mentioned script to ftp the files.It works fine when i
ftp the files from one unix server to another unix server.But it is not working when i tried from Windows to unix .I am getting the below mentioned error message.can anybody help me on this?

HOST=111.212.242.233
PASSWORD=xxxx
USER=kk1234
FILE_NAME=test1.dat
ftp -v -n ${HOST} << cmd
user ${USER} ${PASSWORD}
cd /home/kkk/test/
lcd C:\Documents and Settings\Folder1get ssh_install
ls ${FILE_NAME}
get ${FILE_NAME}
quit
cmd

ERROR MESSAGE
-------------------
ftp: connect: Connection timed out
Not connected.
Not connected.
usage:lcd local-directory

Thanks

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.