From: Roland G. <RGi...@cp...> - 2004-03-23 15:19:10
|
My standard sermon... ;o) As you mentioned FTP and Telnet, please be sure to read the FAQ section in the Expect docs about automating password entry. There are better ways to automate file transfer via FTP or SSH than providing passwords via Expect... Roland Mario Ohnewald wrote: > hello list! > > I dont know much perl, and i mainly want to use it for once special thing: > > I want to start a application, like ftp, or telnet, and redirect the stdin > and stdout. So that i could crontrol those programs remotely. I was told that > pty can do this in a nice way. > > http://search.cpan.org/dist/IO-Tty/Pty.pm > > I found it hard to understand that example they use there, and would be very > happy if someone could point me to a nicer/easier script or examples > regarding pty. > > If anyone has already such a script laying around, then just give it a paste > :p > > I dont mind reading though, but i was unlucky so far with google. > > > Thank you very much. > Mario > |