<?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: SFTP script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-script/m-p/3800333#M782349</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=899209" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=899209&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;IP=ip_address&lt;BR /&gt;username=user&lt;BR /&gt;password=whatever&lt;BR /&gt;SOURCE=c:\files&lt;BR /&gt;DESTINATION=/tmp&lt;BR /&gt;FILE=myfile.dat&lt;BR /&gt;&lt;BR /&gt;sftp  &amp;lt;&amp;lt; EOF&lt;BR /&gt;open $IP&lt;BR /&gt;$username&lt;BR /&gt;$password&lt;BR /&gt;lcd $SOURCE&lt;BR /&gt;cd $DESTINATION&lt;BR /&gt;put $FILE&lt;BR /&gt;bye&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rc=$rc&lt;BR /&gt;if [ $rc -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;  echo "File transfered" &lt;BR /&gt;  echo "success"&lt;BR /&gt;else&lt;BR /&gt;  echo "failed&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Jun 2006 12:43:25 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-06-05T12:43:25Z</dc:date>
    <item>
      <title>SFTP script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-script/m-p/3800332#M782348</link>
      <description>Hello Gurus&lt;BR /&gt;&lt;BR /&gt;I need a simple procedure to check if a file transfer using SFTP has completed successfully, can anyone help</description>
      <pubDate>Mon, 05 Jun 2006 12:37:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-script/m-p/3800332#M782348</guid>
      <dc:creator>David Bellamy</dc:creator>
      <dc:date>2006-06-05T12:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-script/m-p/3800333#M782349</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=899209" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=899209&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;IP=ip_address&lt;BR /&gt;username=user&lt;BR /&gt;password=whatever&lt;BR /&gt;SOURCE=c:\files&lt;BR /&gt;DESTINATION=/tmp&lt;BR /&gt;FILE=myfile.dat&lt;BR /&gt;&lt;BR /&gt;sftp  &amp;lt;&amp;lt; EOF&lt;BR /&gt;open $IP&lt;BR /&gt;$username&lt;BR /&gt;$password&lt;BR /&gt;lcd $SOURCE&lt;BR /&gt;cd $DESTINATION&lt;BR /&gt;put $FILE&lt;BR /&gt;bye&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rc=$rc&lt;BR /&gt;if [ $rc -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;  echo "File transfered" &lt;BR /&gt;  echo "success"&lt;BR /&gt;else&lt;BR /&gt;  echo "failed&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jun 2006 12:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-script/m-p/3800333#M782349</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-05T12:43:25Z</dc:date>
    </item>
  </channel>
</rss>

