in reply to telnet session from perl scripts
You never start the ftp program in your session.
Did you maybe want to open a Net::FTP session to 192.168.0.1 instead of trying to launch the ftp program on 192.168.0.1?
If you really want to transfer a file from/to 192.168.0.1 and a third machine, consider using a command line ftp client like wget or curl or GET from libwww-perl, or launch a Perl script on 192.168.0.1.
Also, you should really consider using the ssh protocol, as it makes authentication much easier.
|
|---|