On Oct 21, 8:27 pm, [EMAIL PROTECTED] (Juan Pablo Feria Gomez) wrote:
> > use strict;
> > use warnings;
> > use Expect;
> > use IO::Tty;
>
> > $host = "192.168.1.72";
> > $passwd= "xyz";
> > $user = "xyz";
>
> > $t= "file.txt";
> > my $connect = Expect->spawn("scp $t [EMAIL PROTECTED]:/work/$user/"
> use strict;
> use warnings;
> use Expect;
> use IO::Tty;
>
> $host = "192.168.1.72";
> $passwd= "xyz";
> $user = "xyz";
>
> $t= "file.txt";
> my $connect = Expect->spawn("scp $t [EMAIL PROTECTED]:/work/$user/");
> $connect->expect(30,"\s") ||die "junk1";
> print $connect $passwd."\n";
Do you
Chas. Owens wrote:
On Tue, Oct 21, 2008 at 09:40, Sandeep Kumar
<[EMAIL PROTECTED]> wrote:
hi all,
i am using expect module to connect to a remote server. i am getting the
following error.
Cannot sync with child: Interrupted system call at /perl_path/lib/Expect.pm
line 134,
somebody please
On Tue, Oct 21, 2008 at 09:40, Sandeep Kumar
<[EMAIL PROTECTED]> wrote:
> hi all,
>
> i am using expect module to connect to a remote server. i am getting the
> following error.
>
> Cannot sync with child: Interrupted system call at /perl_path/lib/Expect.pm
> line 134,
>
> somebody please let me kn
hi all,
i am using expect module to connect to a remote server. i am getting the
following error.
Cannot sync with child: Interrupted system call at
/perl_path/lib/Expect.pm line 134,
somebody please let me know a solution for this.
thanks,
sandeep.
--
To unsubscribe, e-mail: [EMAIL PROT