[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Net::Telnet



ntyson@thesquare.com (Na'im Tyson) wrote:
>Simply stated, I want to use Net::Telnet to issue a command in a bash
>shell at a remote host.  However, to be able to do so, I need to put the
>file as one of the arguments to the command.  How would I go about this,
>i.e., copying the file from the source to the remote host so that I can
>execute the command with the file?

As far as I know, there's no good way to send a file via telnet.  You'd
be much better off using Net::FTP, especially if the file is large or
you're not sure of its contents.


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org