Actually I just visited tcl.tk and got into: http://www.tcl.tk/man/ which contained a link for a tool, autoexpect, I read the online man page and walla! it was what I needed ! so I just ran :
"autoexpect ftp ftp.tripod.com" logined and then 'logout' after that I modified the output file a bit so the 'logout' won't exist and after that I was done! Thanks On Tue, May 07, 2002 at 07:25:33PM +0300, Nadav Har'El wrote: > On Tue, May 07, 2002, Eliran wrote about "Re: Expect Programmers": > > Anyway I try to set up an Expect script that interact with ftp > > so it will automatically login into my ftp server, the basic problem is... > > A much simpler solution (if it fits your problem) would be to use a program > like wget or curl to automate the connection to the ftp server. They are > available on all decent Linux installations, and you can do things like > wget ftp://my.server.com/file/name > > Another alternative is to automate ftp via a ~/.netrc file (see the > netrc(5) manual, and the ftp(1) manual). > > Exect is a very useful tool, but its anything but easy to learn. You'd > need to learn TCL (the language on which expect is built) and then the > expect commands. See www.tcl.tk for some tcl and expect documents and stuff. > > -- > Nadav Har'El | Tuesday, May 7 2002, 26 Iyyar 5762 > [EMAIL PROTECTED] |----------------------------------------- > Phone: +972-53-245868, ICQ 13349191 |If glory comes after death, I'm not in a > http://nadav.harel.org.il |hurry. (Latin proverb) > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > -- <a href="http://eg-site.tripod.com">Eliran</a> The end move in politics is always to pick up a gun. -- R. Buckminster Fuller ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]