ftp without user intervention
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
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.
Quoted 26 lines · rinku rathore
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 ofuser(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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
hello kaushal,
I tried to man expect but is is giving "No manual
entry for expect".Can you help me more.
Regards,
Rinku Rathore.
Quoted 41 lines · --- kaushal
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.Quoted 3 lines · rinku rathore
Hello All,
I wanted to transfer a file using ftp.But the
problem
Quoted 1 line
is that I wanted to do it through a "c
program",this c
Quoted 1 line
program should give the IP adrress to which we
want to
Quoted 1 line
connect,now the same program give the user name
And
Quoted 16 lines
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
Quoted 8 lines
Quoted 2 lines
-
To unsubscribe from this list: send the line"unsubscribe linux-c-programming" in
Quoted 2 lines
the body of a message to [email protected] More majordomo info at
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
hi,
the following link is what u need.
http://expect.nist.gov/README.distribution
bye.
Quoted 71 lines · rinku rathore
hello kaushal,
I tried to man expect but is is giving "No manual
entry for expect".Can you help me more.
Regards,
Rinku Rathore.Quoted 41 lines · --- kaushal
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.Quoted 3 lines · rinku rathore
Hello All,
I wanted to transfer a file using ftp.But the
problem
Quoted 1 line
is that I wanted to do it through a "c
program",this c
Quoted 1 line
program should give the IP adrress to which we
want to
Quoted 1 line
connect,now the same program give the user name
And
Quoted 16 lines
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.comQuoted 8 lines
Quoted 2 lines
-
To unsubscribe from this list: send the line"unsubscribe linux-c-programming" in
Quoted 2 lines
the body of a message to [email protected] More majordomo info at
__________________________________
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · rinku rathore
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.
Signature · 1 line
Glynn Clements <[email protected]>