* ftp without user intervention
@ 2004-11-19 7:03 rinku rathore
2004-11-19 7:42 ` kaushal
0 siblings, 1 reply; 5+ messages in thread
From: rinku rathore @ 2004-11-19 7:03 UTC (permalink / raw)
To: Vger Kernel
Hello All,
I wanted to transfer a file using ftp.But the problem
is that I wanted to do it through a "c program",this c
program should give the IP adrress to which we want to
connect,now the same program give the user name And
password to connect without the intervention of
user(i,e., without manual entery of user name and
password).
Thanx in advace,if any body can help me,
Regards ,
Rinku Rathore.
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ftp without user intervention
2004-11-19 7:03 ftp without user intervention rinku rathore
@ 2004-11-19 7:42 ` kaushal
2004-11-19 7:47 ` rinku rathore
0 siblings, 1 reply; 5+ messages in thread
From: kaushal @ 2004-11-19 7:42 UTC (permalink / raw)
To: rinku rathore; +Cc: Vger Kernel
hi rinku,
AFAIK the kind of work that you want to do is called as "an automated
task".Although these tasks require user interaction still they can be
performed using the "expect" command.Infact it is a tool."man expect"
would give you some more clues.Hope that was your requirement.
cheers-
kaushal
rocsys technologies.
On Fri, 2004-11-19 at 12:33, rinku rathore wrote:
> Hello All,
>
> I wanted to transfer a file using ftp.But the problem
> is that I wanted to do it through a "c program",this c
> program should give the IP adrress to which we want to
> connect,now the same program give the user name And
> password to connect without the intervention of
> user(i,e., without manual entery of user name and
> password).
> Thanx in advace,if any body can help me,
> Regards ,
> Rinku Rathore.
>
>
>
>
> __________________________________
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ftp without user intervention
2004-11-19 7:42 ` kaushal
@ 2004-11-19 7:47 ` rinku rathore
2004-11-19 8:52 ` kaushal
2004-11-19 15:52 ` Glynn Clements
0 siblings, 2 replies; 5+ messages in thread
From: rinku rathore @ 2004-11-19 7:47 UTC (permalink / raw)
To: kaushal; +Cc: linux-c-programming
hello kaushal,
I tried to man expect but is is giving "No manual
entry for expect".Can you help me more.
Regards,
Rinku Rathore.
--- kaushal <kaushal@rocsys.com> wrote:
> hi rinku,
> AFAIK the kind of work that you want to do is
> called as "an automated
> task".Although these tasks require user interaction
> still they can be
> performed using the "expect" command.Infact it is a
> tool."man expect"
> would give you some more clues.Hope that was your
> requirement.
>
> cheers-
> kaushal
> rocsys technologies.
>
> On Fri, 2004-11-19 at 12:33, rinku rathore wrote:
> > Hello All,
> >
> > I wanted to transfer a file using ftp.But the
> problem
> > is that I wanted to do it through a "c
> program",this c
> > program should give the IP adrress to which we
> want to
> > connect,now the same program give the user name
> And
> > password to connect without the intervention of
> > user(i,e., without manual entery of user name and
> > password).
> > Thanx in advace,if any body can help me,
> > Regards ,
> > Rinku Rathore.
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The all-new My Yahoo! - Get yours free!
> > http://my.yahoo.com
> >
> >
> > -
> > To unsubscribe from this list: send the line
> "unsubscribe linux-c-programming" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> http://vger.kernel.org/majordomo-info.html
>
>
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ftp without user intervention
2004-11-19 7:47 ` rinku rathore
@ 2004-11-19 8:52 ` kaushal
2004-11-19 15:52 ` Glynn Clements
1 sibling, 0 replies; 5+ messages in thread
From: kaushal @ 2004-11-19 8:52 UTC (permalink / raw)
To: rinku rathore; +Cc: linux-c-programming
hi,
the following link is what u need.
http://expect.nist.gov/README.distribution
bye.
On Fri, 2004-11-19 at 13:17, rinku rathore wrote:
> hello kaushal,
> I tried to man expect but is is giving "No manual
> entry for expect".Can you help me more.
> Regards,
> Rinku Rathore.
>
> --- kaushal <kaushal@rocsys.com> wrote:
>
> > hi rinku,
> > AFAIK the kind of work that you want to do is
> > called as "an automated
> > task".Although these tasks require user interaction
> > still they can be
> > performed using the "expect" command.Infact it is a
> > tool."man expect"
> > would give you some more clues.Hope that was your
> > requirement.
> >
> > cheers-
> > kaushal
> > rocsys technologies.
> >
> > On Fri, 2004-11-19 at 12:33, rinku rathore wrote:
> > > Hello All,
> > >
> > > I wanted to transfer a file using ftp.But the
> > problem
> > > is that I wanted to do it through a "c
> > program",this c
> > > program should give the IP adrress to which we
> > want to
> > > connect,now the same program give the user name
> > And
> > > password to connect without the intervention of
> > > user(i,e., without manual entery of user name and
> > > password).
> > > Thanx in advace,if any body can help me,
> > > Regards ,
> > > Rinku Rathore.
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > The all-new My Yahoo! - Get yours free!
> > > http://my.yahoo.com
> > >
> > >
> > > -
> > > To unsubscribe from this list: send the line
> > "unsubscribe linux-c-programming" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at
> > http://vger.kernel.org/majordomo-info.html
> >
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ftp without user intervention
2004-11-19 7:47 ` rinku rathore
2004-11-19 8:52 ` kaushal
@ 2004-11-19 15:52 ` Glynn Clements
1 sibling, 0 replies; 5+ messages in thread
From: Glynn Clements @ 2004-11-19 15:52 UTC (permalink / raw)
To: rinku rathore; +Cc: kaushal, linux-c-programming
rinku rathore wrote:
> I tried to man expect but is is giving "No manual
> entry for expect".Can you help me more.
"expect" is a modified Tcl interpreter, which is specifically intended
for automating interactive tasks. It provides similar functionality to
the "chat" program, but is more powerful (as you have the Tcl language
available).
Both chat and expect allow you to write scripts where commands are
executed in response to receiving specific data.
The chat program is most commonly used to script dial-up PPP logins
(i.e. wait for the server to send a "Login:" prompt then send the
username in response, etc).
Expect was designed for more complex cases. One common use is to
script the "ftp" program.
--
Glynn Clements <glynn@gclements.plus.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-19 15:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-19 7:03 ftp without user intervention rinku rathore
2004-11-19 7:42 ` kaushal
2004-11-19 7:47 ` rinku rathore
2004-11-19 8:52 ` kaushal
2004-11-19 15:52 ` Glynn Clements
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).