Help for this page

Select Code to Download


  1. or download this
    ...
    $ssh2 -> scp_put("${datafile}IMSI_SICAP.lst","/timesten/IMSI_SICAP.lst
    +")or die ("Error");
    $ssh2->channel->exec("dos2unix /timesten/IMSI_SICAP.lst");
    
  2. or download this
    use Net::SFTP::Foreign;
    
    ...
    $sftp->error and die "Unable to connect: " . $ssh->error;
    
    $sftp->put("${datafile}IMSI_SICAP.lst","/timesten/IMSI_SICAP.lst", con
    +version => 'dos2unix');