<?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 -b batchfile in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917975#M49943</link>
    <description>;-)&lt;BR /&gt;Peter,&lt;BR /&gt;I've found out this switch. But it doesn't help me at all.&lt;BR /&gt;&lt;BR /&gt;I would like to know if&lt;BR /&gt;$ sftp "-B" batchfile 'user'@'node'&lt;BR /&gt;works at all when I put &lt;BR /&gt;get a.a&lt;BR /&gt;bye&lt;BR /&gt;in the batchfile.&lt;BR /&gt;&lt;BR /&gt;am I really this stupid or the onlyone to use this?</description>
    <pubDate>Fri, 12 Aug 2005 08:10:51 GMT</pubDate>
    <dc:creator>Bart Buitenhuis_1</dc:creator>
    <dc:date>2005-08-12T08:10:51Z</dc:date>
    <item>
      <title>SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917969#M49937</link>
      <description>I would like to be able to use SFTP with a batchfile. As I understand it SFTP does not work in batch mode.&lt;BR /&gt;My command looks like this&lt;BR /&gt;$ sftp -b batchfile.txt 'user'@'node'&lt;BR /&gt;&lt;BR /&gt;in batchfile.txt&lt;BR /&gt;ls&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;The command produces no output, no errors. SSH en SCP works fine.&lt;BR /&gt;I probably am doing something stupid simple wrong. Anybody out there using this command the same way and can you provide me with an example batchfile?&lt;BR /&gt;&lt;BR /&gt;Bart</description>
      <pubDate>Fri, 12 Aug 2005 04:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917969#M49937</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-12T04:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917970#M49938</link>
      <description>Bart,&lt;BR /&gt;&lt;BR /&gt;isn't the batchoption -B, so the command should be sftp "-B"?&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Fri, 12 Aug 2005 05:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917970#M49938</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-08-12T05:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917971#M49939</link>
      <description>Kalle,&lt;BR /&gt;I've tried it but I do not receive any output from the commands in my batchfile. Do you have an example?&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 05:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917971#M49939</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-12T05:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917972#M49940</link>
      <description>I'm afraid not.&lt;BR /&gt;I just noticed, that in the manual it states -b and the sftp -h states -B.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Fri, 12 Aug 2005 05:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917972#M49940</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-08-12T05:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917973#M49941</link>
      <description>sftp "-h"&lt;BR /&gt;Usage: sftp2 [-D debug_level_spec] [-b batchfile] [-S path] [-h] [-V] [-P ssh2-port] host</description>
      <pubDate>Fri, 12 Aug 2005 08:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917973#M49941</guid>
      <dc:creator>Peter Barkas</dc:creator>
      <dc:date>2005-08-12T08:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917974#M49942</link>
      <description>sftp "-bcmd.txt"&lt;BR /&gt;sftp "-bcmd.txt" "-D 7"</description>
      <pubDate>Fri, 12 Aug 2005 08:06:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917974#M49942</guid>
      <dc:creator>Peter Barkas</dc:creator>
      <dc:date>2005-08-12T08:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917975#M49943</link>
      <description>;-)&lt;BR /&gt;Peter,&lt;BR /&gt;I've found out this switch. But it doesn't help me at all.&lt;BR /&gt;&lt;BR /&gt;I would like to know if&lt;BR /&gt;$ sftp "-B" batchfile 'user'@'node'&lt;BR /&gt;works at all when I put &lt;BR /&gt;get a.a&lt;BR /&gt;bye&lt;BR /&gt;in the batchfile.&lt;BR /&gt;&lt;BR /&gt;am I really this stupid or the onlyone to use this?</description>
      <pubDate>Fri, 12 Aug 2005 08:10:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917975#M49943</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-12T08:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917976#M49944</link>
      <description>Ok,&lt;BR /&gt;now....what is the content of the cmd.txt in your case?&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 08:13:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917976#M49944</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-12T08:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917977#M49945</link>
      <description>OK,&lt;BR /&gt;with a little help from my friends I discovered that it only works on OpenVMS if you use this syntax;&lt;BR /&gt;$ sftp "-Bbatch.txt"  'username'@'node'&lt;BR /&gt;&lt;BR /&gt;be SURE!! to USE a &lt;LF&gt; at the end of each line in batch.txt execpt the last line.&lt;BR /&gt;&lt;BR /&gt;*heavy sigh*.&lt;BR /&gt;&lt;BR /&gt;Hope this helps others in their quest..&lt;/LF&gt;</description>
      <pubDate>Fri, 12 Aug 2005 08:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917977#M49945</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-12T08:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917978#M49946</link>
      <description>Your command file must be record format stream_lf</description>
      <pubDate>Fri, 12 Aug 2005 08:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917978#M49946</guid>
      <dc:creator>Peter Barkas</dc:creator>
      <dc:date>2005-08-12T08:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917979#M49947</link>
      <description>are you just guessing? Mine is sequential and it works fine?</description>
      <pubDate>Fri, 12 Aug 2005 08:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917979#M49947</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-12T08:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917980#M49948</link>
      <description>Put the LFs in manually if you want...&lt;BR /&gt;&lt;BR /&gt;Stream LF is a common requirements of 'non-native' VMS software, for example Apache etc.</description>
      <pubDate>Fri, 12 Aug 2005 08:36:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917980#M49948</guid>
      <dc:creator>Peter Barkas</dc:creator>
      <dc:date>2005-08-12T08:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917981#M49949</link>
      <description>and there used to be this feature in $EDT to get a &lt;LF&gt; character in it.....but I forgot how to do this...I still know that &lt;CTRL&gt;+]] gives &lt;ESC&gt; but hey...whow needs this if you are looking for a &lt;LF&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LF&gt;&lt;/ESC&gt;&lt;/CTRL&gt;&lt;/LF&gt;</description>
      <pubDate>Fri, 12 Aug 2005 08:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917981#M49949</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-12T08:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917982#M49950</link>
      <description>Entering &lt;LF&gt; in EDT:&lt;BR /&gt;&lt;GOLD&gt;10&lt;GOLD&gt;&lt;KP3&gt;&lt;BR /&gt;&lt;BR /&gt;10 is the decimal value of LF and &lt;GOLD&gt;&lt;KP&gt; is the special insert.&lt;BR /&gt;&lt;BR /&gt;regards Kalle&lt;/KP&gt;&lt;/GOLD&gt;&lt;/KP3&gt;&lt;/GOLD&gt;&lt;/GOLD&gt;&lt;/LF&gt;</description>
      <pubDate>Sun, 14 Aug 2005 23:50:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917982#M49950</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-08-14T23:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917983#M49951</link>
      <description>&lt;STREAM lf="" is="" a="" common="" requirements="" of=""&gt;&lt;BR /&gt;The latter is lucklily not entirly true. Apache 1.3 works fine with VMS-native files, and upcoming 2.1 is said to be likewise.&lt;BR /&gt;But for the rest: always worth a try.&lt;BR /&gt;&lt;BR /&gt;Your particular problem doesn't surprise me.&lt;BR /&gt;It is know that some of these "products" have issues other than this requiement. Be it in functionality, interface or "help" (the Unix way). It would be a good thing these were signalled and solved _before_ release.... &lt;BR /&gt;&lt;BR /&gt;To add a &lt;LF&gt; in editor (TPU): CTRL-V + CTRL-J (CTRL-V toggels to "binary mode", so you can insert a non-printable character. CTRL + character = binary valuÃ© to be inserted. CTRL-A = 1, CTRL-B = 2 etc. Only"one at a time. How it displays on screen depends on your terminal/terminal emulator.&lt;BR /&gt;&lt;BR /&gt;Willem&lt;/LF&gt;&lt;/STREAM&gt;</description>
      <pubDate>Mon, 15 Aug 2005 01:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917983#M49951</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-08-15T01:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917984#M49952</link>
      <description>Thanks guys. Everything works out nicely now.</description>
      <pubDate>Mon, 15 Aug 2005 05:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917984#M49952</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-15T05:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917985#M49953</link>
      <description>&lt;A href="http://h71000.www7.hp.com/openvms/products/ips/apache/csws_relnotes_20.html" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/ips/apache/csws_relnotes_20.html&lt;/A&gt;&lt;BR /&gt;...all served files must be in Stream_LF format</description>
      <pubDate>Mon, 15 Aug 2005 08:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917985#M49953</guid>
      <dc:creator>Peter Barkas</dc:creator>
      <dc:date>2005-08-15T08:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917986#M49954</link>
      <description>&lt;A href="http://h18012.www1.hp.com/java/documentation/1.3.1-7/ovms/docs/release_notes.html#streamlf" target="_blank"&gt;http://h18012.www1.hp.com/java/documentation/1.3.1-7/ovms/docs/release_notes.html#streamlf&lt;/A&gt;&lt;BR /&gt;Stream_LF format is required for all data files read or written by Java programs.&lt;BR /&gt;&lt;BR /&gt;I have managed to waste quite a lot of time with Apache and JAVA simply because my files were not in stream format, or at least that what I thought was the case, perhaps I was wrong.&lt;BR /&gt;&lt;BR /&gt;See also [APACHE]APACHE$CONVERT_STREAMLF.COM</description>
      <pubDate>Mon, 15 Aug 2005 08:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917986#M49954</guid>
      <dc:creator>Peter Barkas</dc:creator>
      <dc:date>2005-08-15T08:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917987#M49955</link>
      <description>Topic closed</description>
      <pubDate>Mon, 15 Aug 2005 08:26:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917987#M49955</guid>
      <dc:creator>Bart Buitenhuis_1</dc:creator>
      <dc:date>2005-08-15T08:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP -b batchfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917988#M49956</link>
      <description>I have the same problem, where do you enter the password, and what is the PFK3 or PF keys?  thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 10:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-b-batchfile/m-p/4917988#M49956</guid>
      <dc:creator>ted_72</dc:creator>
      <dc:date>2005-09-15T10:00:29Z</dc:date>
    </item>
  </channel>
</rss>

