How to create a batch file that uploads a file on FTP server

Please tell me
How to create a batch file that uploads a file on FTP server, and returns success or failure message.
Thanks in advance
[153 byte] By [Farhad] at [2007-11-18 7:52:00]