Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: scp output without having to use "Net::SCP" in Perl

by sierpinski (Chaplain)
on Jun 02, 2015 at 21:18 UTC ( [id://1128853]=note: print w/replies, xml ) Need Help??


in reply to scp output without having to use "Net::SCP" in Perl

/usr/bin/tmp

Should probably try /usr/bin/scp.. ;-)

  • Comment on Re: scp output without having to use "Net::SCP" in Perl

Replies are listed 'Best First'.
Re^2: scp output without having to use "Net::SCP" in Perl
by pjzero@90 (Novice) on Jun 02, 2015 at 21:46 UTC
      Try adding a double dash after the command to stop option processing:
      system("/usr/bin/scp", "--", $output, "$USER\@$host:/tmp/LOGS/");

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1128853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-26 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found