How to Transfer a whole Directory from unix to windows using FTP?

Hi

I can transfer a single file and multiple file from unix to widows using get and mget command.But i dont know How to transfer a whole directory from unix to windows using command.

pls help me

Ramkumar

One way for a single-level directory (no sub-directories - you have to send a tarball for that)

filenames= $(
find /path -print |\
while read $file 
do
   echo "put $file"
done )

ftp -nv<<EOF
open winnode
user $username $password
ASC
$files
bye
EOF