Well this is guaranteed to get you answers.
Have you never heard of Google?
Or even the command "man ftp", since that, itself, describes the .netrc file and your "logfile" can be simple output redirection ">".
Id10t
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
Don't bother sending me PMs. My last post was in response to your rude second post, but it does contain information that you can use to create what you want, we are not going to do it for you.
Google a bit, man ftp and read the .netrc file section. Then try to create your script. If you have problems post your script here and you will get help, but simply saying, "Give me t3h codez!" does not cut it.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494