Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Help Required - Problem Automating SFTP

by Kraythorne (Sexton)
on Jan 28, 2009 at 10:59 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-19 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found