Help for this page

Select Code to Download


  1. or download this
    $s = Net::SFTP::Foreign->new(...);
    if ($s->error) { die "Unable to connect to remote host: " . $s->error 
    +}
    
  2. or download this
    $s = Net::SFTP::Foreign->new(..., autodie => 1);