Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Help Required - Problem Automating SFTP

by Kraythorne (Sexton)
on Jan 28, 2009 at 10:59 UTC ( #739492=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $sftp->get("foo", "bar") or die "get failed: " . sftp->error;
    
    $sftp->put("bar", "baz") or die "put failed: " . sftp->error;
    
  2. or download this
    Looking up host "*client_ftp_IP*"
    Connecting to *client_ftp_IP* port *connection port*
    ...
    
    
    ==============================
    
  3. or download this
    use strict;
    use warnings;
    ...
    
    $sftp->error and
       die "Unable to stablish SFTP connection: " . $sftp->error;
    
  4. or download this
    OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
    debug1: Reading configuration data /etc/ssh_config
    ...
    Request for subsystem 'sftp' failed on channel 0
    Unable to stablish SFTP connection: Connection to remote server is bro
    +ken at C:\
    PROGRA~1\OpenSSH\usr\sbin\test.pl line 23.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://739492]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2021-04-21 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?