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.