how to FTP a file from the local folder to unix server

Hi All,
please help me to write a shell that ftp a file which is in the local (C:\) drive to a Unix server.
Where as i know the IP for the Unix server.

i could do this process by using ftp command.

pls help me to write as Shell script.

Thanks in advance for all of your answers.:b::b:

first, what have you tried?

jay.txt
<username>
<password>
cd <directory path in UNIX server>
lcd <Local drive in Windows machine>
bin
put <filename>
bye

jay.bat
@echo off
ftp -s:jay.txt <IP Address of UNIX Server>

Note:

Create jay.bat in command prompt of Windows machine using the command "edit jay.bat"
Double click on "jay.bat" file in Windows machine

-- Jayan Jayaseelan

Further to jayan_jay example .

jay.txt
user <username> <password>
cd <directory path in UNIX server>
lcd <Local drive in Windows machine>
bin
put <filename>
bye

jay.bat
@echo off
ftp -n -s:jay.txt <IP Address of UNIX Server>