I need help!

I am connecting to a remote server using Net::Telnet.  I am then running some
programs, which works fine.  Now I need to send the results back to the local
server that established the connection.

#----- start
$t = new Net::Telnet (Input_Log  => "__debug_log" );
...
print "Attempting FTP from $store to $local\n";
@result = $t->cmd( $ftp = Net::FTP->new($local)  );
#----- end

When this completes, it executes the following on the remote server:

  $ Net::FTP=GLOB(0x4027a304)
  ksh: syntax error: `(' unexpected
  $

Maybe I am doing this wrong, but I am attempting to create an ftp object in
the middle of a telnet call.

Any gurus out there who know how to do this???


-Jeff


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to