P
Piotrek
Hello,
I have a task to write a ftp client using a compiled version of linux
netcat. I figures this would be a good way to learn perl
What I need to do is to take the default input and output from a
launched netcat prog. and make a frontend.
I need to do something like (in pseudo): if (INPUT == "331 Password
required for xxx") { print("PASS xxx1"); } , make a command prompt and
some commands like if (COMMAND == "ls") { print("DIR"); }.
Can You tell me how to do that?
Especially how to reditect the input/output and script it.
Thank You!
I have a task to write a ftp client using a compiled version of linux
netcat. I figures this would be a good way to learn perl
What I need to do is to take the default input and output from a
launched netcat prog. and make a frontend.
I need to do something like (in pseudo): if (INPUT == "331 Password
required for xxx") { print("PASS xxx1"); } , make a command prompt and
some commands like if (COMMAND == "ls") { print("DIR"); }.
Can You tell me how to do that?
Especially how to reditect the input/output and script it.
Thank You!