Keep It Simple, Stupid | |
PerlMonks |
Zmodem and Net::Telnetby splinky (Hermit) |
on Feb 01, 2006 at 16:56 UTC ( [id://527113]=perlquestion: print w/replies, xml ) | Need Help?? |
splinky has asked for the wisdom of the Perl Monks concerning the following question:
I asked this same question about 9 months ago with no luck, so I thought I'd try again.
I'm communicating with another system through its serial port. It's connected to a terminal server, so to me it's a socket connection via Net::Telnet. I opened the socket manually and used Net::Telnet's fhopen, so I have the socket available to me in the main program. My program is running on a Linux box. What I want to do is send a file via zmodem to the other system. I haven't been able to find any Perl zmodem libraries, so I tried open2($socket, $socket, ['sz', 'myfile']); The error I got was:
Line 21 is the "open2" line. Does anyone have any suggestions? I'd really rather not re-implement zmodem in Perl if I don't have to. Thanks.
Back to
Seekers of Perl Wisdom
|
|