<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Couldnt get handle error while trying to create SFTP using NET::SFTP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/couldnt-get-handle-error-while-trying-to-create-sftp-using-net/m-p/4410937#M682076</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Am getting "Couldnt get handle error:"&lt;BR /&gt;&lt;BR /&gt;Is that actually the full error? or do you die with your message "could not open..."?&lt;BR /&gt;&lt;BR /&gt;I'm afraid that I don't use 'Net::SFTP' but rather 'Net::SFTP::Foreign' (which has less dependencies).&lt;BR /&gt;&lt;BR /&gt;I also presume that your $server value is a sanitized one :-)&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 30 Apr 2009 11:25:38 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2009-04-30T11:25:38Z</dc:date>
    <item>
      <title>Couldnt get handle error while trying to create SFTP using NET::SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldnt-get-handle-error-while-trying-to-create-sftp-using-net/m-p/4410936#M682075</link>
      <description>&lt;!--!*#--&gt;Am new to Perl script...I have written the below SFTP perl script..Am getting "Couldnt get handle error:" ...Could anyone advice what needs to be done..&lt;BR /&gt;&lt;BR /&gt;use warnings;&lt;BR /&gt;use Net::SFTP;&lt;BR /&gt;&lt;BR /&gt;my $server="*.*.*.*";&lt;BR /&gt;my $user="user";&lt;BR /&gt;my $password="pwd"; &lt;BR /&gt;my $source_path="/appl/xib_d/data/ftp/sftptest"; &lt;BR /&gt;my $remote_path="/appl/xib202_t/data/ftp";&lt;BR /&gt;my $file_extn="txt";&lt;BR /&gt;&lt;BR /&gt;my %args = (user =&amp;gt; "$user", password =&amp;gt; "$password", ssh_args =&amp;gt; []);&lt;BR /&gt;&lt;BR /&gt;my $sftp=Net::SFTP-&amp;gt;new($server, %args) or die "could not open connection to $server\n";&lt;BR /&gt;&lt;BR /&gt;my $file = $source_path . "/." . $file_extn;&lt;BR /&gt;&lt;BR /&gt;$sftp-&amp;gt;put($file, $remote_path) or die "could not upload a file\n";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;exit;</description>
      <pubDate>Thu, 30 Apr 2009 10:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldnt-get-handle-error-while-trying-to-create-sftp-using-net/m-p/4410936#M682075</guid>
      <dc:creator>priyadharshini_1</dc:creator>
      <dc:date>2009-04-30T10:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Couldnt get handle error while trying to create SFTP using NET::SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldnt-get-handle-error-while-trying-to-create-sftp-using-net/m-p/4410937#M682076</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Am getting "Couldnt get handle error:"&lt;BR /&gt;&lt;BR /&gt;Is that actually the full error? or do you die with your message "could not open..."?&lt;BR /&gt;&lt;BR /&gt;I'm afraid that I don't use 'Net::SFTP' but rather 'Net::SFTP::Foreign' (which has less dependencies).&lt;BR /&gt;&lt;BR /&gt;I also presume that your $server value is a sanitized one :-)&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 30 Apr 2009 11:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldnt-get-handle-error-while-trying-to-create-sftp-using-net/m-p/4410937#M682076</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-04-30T11:25:38Z</dc:date>
    </item>
  </channel>
</rss>

