<?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: Redirecting output from SFTP in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248726#M44435</link>
    <description>Sorry, for clarification: The problem is not that the command does not work; it is that it does not terminate! If I cancel the script (Ctrl-C), the output is correctly written to the given output file.</description>
    <pubDate>Fri, 08 Aug 2008 11:28:25 GMT</pubDate>
    <dc:creator>Jörg Mohren</dc:creator>
    <dc:date>2008-08-08T11:28:25Z</dc:date>
    <item>
      <title>Redirecting output from SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248723#M44432</link>
      <description>Hello everybody&lt;BR /&gt;&lt;BR /&gt;I am trying to redirect the output of a SFTP command under VMS 8.3. I already tried a pipe &lt;BR /&gt;&lt;BR /&gt;pipe (define/user sys$command nl: ;-&lt;BR /&gt;      sftp "-B" cmdfile user@host) -&lt;BR /&gt;&amp;gt; copy sys$pipe: sftp.out&lt;BR /&gt;&lt;BR /&gt;but the command did not terminate. The cmdfile is stream_lf, and only contains two commands&lt;BR /&gt;&lt;BR /&gt;ls *.xml&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;Anybody got an idea where the problem might be?</description>
      <pubDate>Fri, 08 Aug 2008 11:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248723#M44432</guid>
      <dc:creator>Jörg Mohren</dc:creator>
      <dc:date>2008-08-08T11:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting output from SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248724#M44433</link>
      <description>See this thread, and particularly what John Gillings says&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1185836" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1185836&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Aug 2008 11:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248724#M44433</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-08-08T11:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting output from SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248725#M44434</link>
      <description>I used the idea of John Gillings, only omitting the setting of the status flag. The command did not work for me, neither with nor without setting the status flag. It was accepted, but did not terminate.&lt;BR /&gt;Interactively, I can perform the commands without any problem. Without the redirection, the ls output is correctly written to my terminal.&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Aug 2008 11:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248725#M44434</guid>
      <dc:creator>Jörg Mohren</dc:creator>
      <dc:date>2008-08-08T11:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting output from SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248726#M44435</link>
      <description>Sorry, for clarification: The problem is not that the command does not work; it is that it does not terminate! If I cancel the script (Ctrl-C), the output is correctly written to the given output file.</description>
      <pubDate>Fri, 08 Aug 2008 11:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248726#M44435</guid>
      <dc:creator>Jörg Mohren</dc:creator>
      <dc:date>2008-08-08T11:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting output from SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248727#M44436</link>
      <description>Have you tried using debug to see what is happening?&lt;BR /&gt;&lt;BR /&gt;I have your command working fine for VMS to VMS in batch and interactive mode.&lt;BR /&gt;&lt;BR /&gt;pipe (define/user sys$command nl: ; &lt;BR /&gt;sftp "-D 8" "-B" test.cmd morrisd@xxxxx) | copy sys$pipe: sftp.out&lt;BR /&gt;&lt;BR /&gt;Is your remote server a non-VMS system? Perhaps the remote end is expecting some continuation command if the list exceeds a "screenful".&lt;BR /&gt;&lt;BR /&gt;Try changing the ls *.xml to reference a single unique filename. If this works, then expand the list further until you hang. That would show the limit on the remote end.&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Fri, 08 Aug 2008 14:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248727#M44436</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2008-08-08T14:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting output from SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248728#M44437</link>
      <description>While you're working here (and in the presence of a support contract) remember to lob a request for COPY /SFTP support at HP.&lt;BR /&gt;&lt;BR /&gt;In some configurations and applications, configuring a VPN engine (and firewall) "out front" -- OpenVMS operating as an embedded environment -- can be an appropriate solution.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Aug 2008 15:28:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248728#M44437</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-08-08T15:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting output from SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248729#M44438</link>
      <description>I tried to debug the command (output file attached), but I don't see the problem. The last in the output file is the output of the file (I tried to do a ls of just one file (login.com) as you recommended).&lt;BR /&gt;The remote system is an OpenVMS system as well.</description>
      <pubDate>Mon, 11 Aug 2008 05:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/redirecting-output-from-sftp/m-p/4248729#M44438</guid>
      <dc:creator>Jörg Mohren</dc:creator>
      <dc:date>2008-08-11T05:27:17Z</dc:date>
    </item>
  </channel>
</rss>

