how to put file from one ftp to another ftp location

hi,

I have one file located in ftp.I want to place that file in different ftp location.

Up to now i am doing it manually using get command and copying that file in to my local system and then putting that file in different ftp using put command.

now i want to automate that using shell script.Within the same ftp i know how to get file but how to copy file from one ftp to another ftp i dont know.

Please suggest regarding this as it is very imp for me.

thanks in advance.

regards,
prasee.

u must have to login to ur ftp2 box.
the only thing.. if u knw how to automate the ftp session ..

tell us if need help ..