FTP send foldes and subfolders

I need to perform a transfer of many files by FTP, including folders and subfolders is how I do it? Is there a command that needs to perform in FTP? What would be the right routine for this? Thank you.

Turn off the prompting using prompt command and then use mput command with wild cards as argument.

Check the ftp manual for further reference.

bipinajith,

I tested with -i already used -in and not even working. What was wrong?
Very thanks!

---------- Post updated at 10:45 AM ---------- Previous update was at 10:43 AM ----------

my script

ftp -in <<EOF
passive
open myhost
user myuser mypw
bin

mput *

bye
EOF

---------- Post updated at 10:45 AM ---------- Previous update was at 10:45 AM ----------

log:

Passive mode off.
AUTH not understood
AUTH not understood
KERBEROS_V4 rejected as an authentication type
daily: not a plain file.
weekly: not a plain file.