scripting a ftp process

I am trying to automate a process in one of two ways:

1) ftp .txt files from a unix server to a Windows 2000 server. I want to do this in a script. Can I supply the login and password to the Windows server inside the script?

2) I tried this and failed: sftp .txt files from the unix server to a Windows 2000 server. The Authentication key will not allow me to sftp no password.

Any ideas??

Thanks,

Greg

Please read the rules - you will find most of your answers by searching and will find them faster than waiting on someone to answer you.

One such answer is this thread - there are more so search for ftp and script.

hehe RTM great to show them how to search... many dont know about that feature for some reason...

Give a man fire and he will be warm for a day... Set a man on fire and he will be warm for the rest of his life... ... ... ...