--- bsamuels@datamansys.co.uk wrote:
Three people kindly replied to my previous post with three different suggestions all of which work. Many thanks for those.
I am afraid that I shall have to drag this out a little longer as one of the files involved in the comparison is on a remote server and I haven't been able to find a way of logging on automatically.
I can use only Telnet or Fpt to gain access to the appropriate directory and I cannot find a way of sending my password via telnet which always supplies a 'Password:' prompt. Telnet allows me to provide my user name when I start it or via 'Open' but there appears to be no option for Passsword.
Can I automate this process from within a script?
"Expect" is what you want. We have used it to send uuencoded text over telnet instead of FTP.
Thanks
D
Barry Samuels
alug, the Anglian Linux User Group list Send list replies to alug@stu.uea.ac.uk http://www.anglian.lug.org.uk/ http://rabbit.stu.uea.ac.uk/cgi-bin/listinfo/alug See the website for instructions on digest or unsub!
===== -------------------- "We all know Linux is great... it does infinite loops in 5 seconds." Linus Torvalds
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/