I am automating the ftp session.
What i want to do is-
-I want to copy all the files,directories and subdirectories of folder say /usr/rahul from remote m/c to local m/c.
-what parameters i need to take careof if any.
-how would i know whether the file is to be tranferred in ascii mode or binary mode or auto?
how will i do this?