From: mallikarjunarao on
hi friends, when i am simulating ftp application when i using interact
command it displays invalid command.
I am using expect package 5.43 and tcl version 8.5, how to resolve
this one.
From: Donal K. Fellows on
On 29/05/2010 17:25, mallikarjunarao wrote:
> hi friends, when i am simulating ftp application when i using interact
> command it displays invalid command.
> I am using expect package 5.43 and tcl version 8.5, how to resolve
> this one.

It's been part of Expect for a long time, so... are you on Windows? If
so, you should be aware that the [interact] command is not supported on
that platform. The issue is that Windows has a much less sophisticated
model of terminals than real POSIX systems do, and this is an area where
it matters; [interact] is very deep voodoo.

Otherwise, are you sure you're loading the Expect package at all? :-)

Donal.
From: mallikarjunarao on
On May 30, 6:42 pm, "Donal K. Fellows"
<donal.k.fell...(a)manchester.ac.uk> wrote:
> On 29/05/2010 17:25, mallikarjunarao wrote:
>
> > hi friends, when i am simulating ftp application when i using interact
> > command it displays invalid command.
> > I am using expect package 5.43 and tcl version 8.5, how to resolve
> > this one.
>
> It's been part of Expect for a long time, so... are you on Windows? If
> so, you should be aware that the [interact] command is not supported on
> that platform. The issue is that Windows has a much less sophisticated
> model of terminals than real POSIX systems do, and this is an area where
> it matters; [interact] is very deep voodoo.
>
> Otherwise, are you sure you're loading the Expect package at all? :-)
>
> Donal.

yes i am using windows platform, but there is no other solution for
that one.
From: Arjen Markus on
On 31 mei, 06:05, mallikarjunarao <malli....(a)gmail.com> wrote:
> On May 30, 6:42 pm, "Donal K. Fellows"
>
>
>
>
>
> <donal.k.fell...(a)manchester.ac.uk> wrote:
> > On 29/05/2010 17:25, mallikarjunarao wrote:
>
> > > hi friends, when i am simulating ftp application when i using interact
> > > command it displays invalid command.
> > > I am using expect package 5.43 and tcl version 8.5, how to resolve
> > > this one.
>
> > It's been part of Expect for a long time, so... are you on Windows? If
> > so, you should be aware that the [interact] command is not supported on
> > that platform. The issue is that Windows has a much less sophisticated
> > model of terminals than real POSIX systems do, and this is an area where
> > it matters; [interact] is very deep voodoo.
>
> > Otherwise, are you sure you're loading the Expect package at all? :-)
>
> > Donal.
>
> yes i am using windows platform, but there is no other solution for
> that one.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

If your purpose is to automate ftp, then you can do so via the ftp
package in Tcllib.

Regards,

Arjen
From: mallikarjunarao on
On May 31, 2:17 pm, Arjen Markus <arjen.markus...(a)gmail.com> wrote:
> On 31 mei, 06:05, mallikarjunarao <malli....(a)gmail.com> wrote:
>
>
>
> > On May 30, 6:42 pm, "Donal K. Fellows"
>
> > <donal.k.fell...(a)manchester.ac.uk> wrote:
> > > On 29/05/2010 17:25, mallikarjunarao wrote:
>
> > > > hi friends, when i am simulating ftp application when i using interact
> > > > command it displays invalid command.
> > > > I am using expect package 5.43 and tcl version 8.5, how to resolve
> > > > this one.
>
> > > It's been part of Expect for a long time, so... are you on Windows? If
> > > so, you should be aware that the [interact] command is not supported on
> > > that platform. The issue is that Windows has a much less sophisticated
> > > model of terminals than real POSIX systems do, and this is an area where
> > > it matters; [interact] is very deep voodoo.
>
> > > Otherwise, are you sure you're loading the Expect package at all? :-)
>
> > > Donal.
>
> > yes i am using windows platform, but there is no other solution for
> > that one.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> > - Tekst uit oorspronkelijk bericht weergeven -
>
> If your purpose is to automate ftp, then you can do so via the ftp
> package in Tcllib.
>
> Regards,
>
> Arjen

thanks dude, but i didn't try the exampl.