<?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 batch not working in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391560#M350320</link>
    <description>Hi,&lt;BR /&gt;I changed my batch file to:&lt;BR /&gt;&lt;BR /&gt;put /home/rocky/somefile.csv&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;and it works.&lt;BR /&gt;Thanks for the help,&lt;BR /&gt;Rocky</description>
    <pubDate>Tue, 31 Mar 2009 21:29:40 GMT</pubDate>
    <dc:creator>Rocky Lavoie_1</dc:creator>
    <dc:date>2009-03-31T21:29:40Z</dc:date>
    <item>
      <title>sftp batch not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391556#M350316</link>
      <description>&lt;!--!*#--&gt;Hi all,&lt;BR /&gt;I'm trying to set up an SFTP batch file. When I execute the batch file it just hangs and eventually times out. I can connect and transfer the file interactively. I've sent my public key and am not prompted for a pw when logging on to the remote server. I'm on an rx4640 running 11.23. What do I have wrong?&lt;BR /&gt;&lt;BR /&gt;sftp -b batchfilename.sftp mylogin@remote.com&lt;BR /&gt;&lt;BR /&gt;Batch file:&lt;BR /&gt;sftp mylogin@remote.com&amp;gt;&amp;gt;EOF&lt;BR /&gt;put /home/rocky/somefile.csv&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rocky</description>
      <pubDate>Tue, 31 Mar 2009 20:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391556#M350316</guid>
      <dc:creator>Rocky Lavoie_1</dc:creator>
      <dc:date>2009-03-31T20:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: sftp batch not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391557#M350317</link>
      <description>Hi Rocky:&lt;BR /&gt;&lt;BR /&gt;You have:&lt;BR /&gt;&lt;BR /&gt;sftp mylogin@remote.com&amp;gt;&amp;gt;EOF&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;sftp -b mylogin@remote.com &amp;lt;&amp;lt; EOF&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 31 Mar 2009 20:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391557#M350317</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-03-31T20:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: sftp batch not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391558#M350318</link>
      <description>Hi,&lt;BR /&gt;Thanks for the reply - I made the change and it still hangs. Anything else I can look at?&lt;BR /&gt;Thanks,&lt;BR /&gt;Rocky</description>
      <pubDate>Tue, 31 Mar 2009 21:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391558#M350318</guid>
      <dc:creator>Rocky Lavoie_1</dc:creator>
      <dc:date>2009-03-31T21:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: sftp batch not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391559#M350319</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Batch file:&lt;BR /&gt;&amp;gt; sftp mylogin@remote.com&amp;gt;&amp;gt;EOF&lt;BR /&gt;&lt;BR /&gt;I don't do much with SFTP, so I know nothing,&lt;BR /&gt;but I'd expect an SFTP batch file to contain&lt;BR /&gt;a list of SFTP commands, not a shell script.&lt;BR /&gt;So, these look out-of-place to me:&lt;BR /&gt;      sftp mylogin@remote.com&amp;gt;&amp;gt;EOF&lt;BR /&gt;      EOF&lt;BR /&gt;but these look plausible:&lt;BR /&gt;      put /home/rocky/somefile.csv&lt;BR /&gt;      quit&lt;BR /&gt;(although I'd expect "quit" to be optional).&lt;BR /&gt;&lt;BR /&gt;If you want to use a shell script with a&lt;BR /&gt;here-document in it, then it's a shell&lt;BR /&gt;script, not an SFTP batch file.</description>
      <pubDate>Tue, 31 Mar 2009 21:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391559#M350319</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-03-31T21:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: sftp batch not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391560#M350320</link>
      <description>Hi,&lt;BR /&gt;I changed my batch file to:&lt;BR /&gt;&lt;BR /&gt;put /home/rocky/somefile.csv&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;and it works.&lt;BR /&gt;Thanks for the help,&lt;BR /&gt;Rocky</description>
      <pubDate>Tue, 31 Mar 2009 21:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-batch-not-working/m-p/4391560#M350320</guid>
      <dc:creator>Rocky Lavoie_1</dc:creator>
      <dc:date>2009-03-31T21:29:40Z</dc:date>
    </item>
  </channel>
</rss>

