<?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 doesn't PUT the file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238647#M56743</link>
    <description>alp $ dire sftp.test&lt;BR /&gt;%DIRECT-W-NOFILES, no files found&lt;BR /&gt;&lt;BR /&gt;alp $ dire [.sftp]&lt;BR /&gt;&lt;BR /&gt;Directory ALP$DKA0:[SMS.SFTP]&lt;BR /&gt;&lt;BR /&gt;SFTP.TEST;2&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;alp $ type sftp.bat&lt;BR /&gt;put sftp/sftp.test&lt;BR /&gt;&lt;BR /&gt;alp $ sftp "-B" sftp.bat sms@alp&lt;BR /&gt;sftp&amp;gt; put sftp/sftp.test&lt;BR /&gt;sftp.test                         |    38B |   0.0 kB/s | TOC: 00:00:01 | 100%&lt;BR /&gt;&lt;BR /&gt;alp $ dire sftp.test&lt;BR /&gt;&lt;BR /&gt;Directory ALP$DKA0:[SMS]&lt;BR /&gt;&lt;BR /&gt;SFTP.TEST;1&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;alp $ diff sftp.test [.sftp]&lt;BR /&gt;Number of difference sections found: 0&lt;BR /&gt;Number of difference records found: 0&lt;BR /&gt;&lt;BR /&gt;DIFFERENCES /IGNORE=()/MERGED=1-&lt;BR /&gt;    ALP$DKA0:[SMS]SFTP.TEST;1-&lt;BR /&gt;    ALP$DKA0:[SMS.SFTP]SFTP.TEST;2&lt;BR /&gt;alp $&lt;BR /&gt;&lt;BR /&gt;What could go wrong?&lt;BR /&gt;&lt;BR /&gt;alp $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 6&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;alp $ sftp "-V"&lt;BR /&gt;alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS&lt;BR /&gt;(V5.5) 3.2.0 on COMPAQ Professional Workstation  - VMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Of course, "/sys$login:test.txt" does not&lt;BR /&gt;look like any of what you said was in your&lt;BR /&gt;batch file.</description>
    <pubDate>Tue, 22 Jul 2008 20:30:46 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2008-07-22T20:30:46Z</dc:date>
    <item>
      <title>SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238646#M56742</link>
      <description>I'm trying to test "batch" mode SFTP between twp VMS systems. (I'll eventually want to PUT a file to a Linux system, but that's another episode.) I've referenced a couple of threads already that enabled me to get past a couple of problems, but I'm now having a problem where the file doesn't get "PUT". (The file doesn't get sent.) Here's the batch file contents:&lt;BR /&gt;&lt;BR /&gt;setext txt&lt;BR /&gt;put sys$login:test.txt&lt;BR /&gt;&lt;BR /&gt;I've tried the following in the PUT command:&lt;BR /&gt;&lt;BR /&gt;put test.txt&lt;BR /&gt;put /sys$login/test.txt&lt;BR /&gt;&lt;BR /&gt;TEST.TXT is a one-line file:&lt;BR /&gt;this is a test&lt;BR /&gt;&lt;BR /&gt;The SFTP command looks thusly:&lt;BR /&gt;sftp -v "-B" test.cmd "csmalley@sysdev"&lt;BR /&gt;&lt;BR /&gt;I've changed the batch file to Stream-LF format with the 'set file/attr=(rfm:stmlf)' command. I've set up host-based authentication. And, lastly, here's the last few lines from the SFTP -v output:&lt;BR /&gt;&lt;BR /&gt;Sftp2/SFTP2.C:3206: buffer: 'AUTHENTICATED YES&lt;BR /&gt;                                              '&lt;BR /&gt;&lt;BR /&gt;debug: ssh_sigchld_real_callback&lt;BR /&gt;SshFileXferClient/SSHFILEXFERC.C:1368: ssh_file_client_receive_proc: coming in with extension data, OpenVMS host&lt;BR /&gt;SshFileCopy/SSHFILECOPY.C:939: Connection to remote host 'csmalley@sysdev', ready to serve requests.&lt;BR /&gt;sftp&amp;gt; setext txt&lt;BR /&gt;Ascii extensions are : txt&lt;BR /&gt;sftp&amp;gt; put sys$login:test.txt&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:280: File is "raw", and it needs to be parsed.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2051: File list has 2 files.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:462: Next source file is /sys$login:test.txt .&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:145: Received error `syserr: I/O stream empty, file: ./sys$login:test.txt' (4).&lt;BR /&gt;open: ./sys$login:test.txt (dst): unspecified failure (server msg: 'syserr: I/O stream empty, file: ./sys$login:test.txt')&lt;BR /&gt;ssh_pipe_stream_destroy&lt;BR /&gt;SshReadLine/SSHREADLINE.C:3717: Uninitializing ReadLine...&lt;BR /&gt;&lt;BR /&gt;Any suggestions are welcome!  Thanks in advance!</description>
      <pubDate>Tue, 22 Jul 2008 20:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238646#M56742</guid>
      <dc:creator>Stephen Daddona</dc:creator>
      <dc:date>2008-07-22T20:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238647#M56743</link>
      <description>alp $ dire sftp.test&lt;BR /&gt;%DIRECT-W-NOFILES, no files found&lt;BR /&gt;&lt;BR /&gt;alp $ dire [.sftp]&lt;BR /&gt;&lt;BR /&gt;Directory ALP$DKA0:[SMS.SFTP]&lt;BR /&gt;&lt;BR /&gt;SFTP.TEST;2&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;alp $ type sftp.bat&lt;BR /&gt;put sftp/sftp.test&lt;BR /&gt;&lt;BR /&gt;alp $ sftp "-B" sftp.bat sms@alp&lt;BR /&gt;sftp&amp;gt; put sftp/sftp.test&lt;BR /&gt;sftp.test                         |    38B |   0.0 kB/s | TOC: 00:00:01 | 100%&lt;BR /&gt;&lt;BR /&gt;alp $ dire sftp.test&lt;BR /&gt;&lt;BR /&gt;Directory ALP$DKA0:[SMS]&lt;BR /&gt;&lt;BR /&gt;SFTP.TEST;1&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;alp $ diff sftp.test [.sftp]&lt;BR /&gt;Number of difference sections found: 0&lt;BR /&gt;Number of difference records found: 0&lt;BR /&gt;&lt;BR /&gt;DIFFERENCES /IGNORE=()/MERGED=1-&lt;BR /&gt;    ALP$DKA0:[SMS]SFTP.TEST;1-&lt;BR /&gt;    ALP$DKA0:[SMS.SFTP]SFTP.TEST;2&lt;BR /&gt;alp $&lt;BR /&gt;&lt;BR /&gt;What could go wrong?&lt;BR /&gt;&lt;BR /&gt;alp $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 6&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;alp $ sftp "-V"&lt;BR /&gt;alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS&lt;BR /&gt;(V5.5) 3.2.0 on COMPAQ Professional Workstation  - VMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Of course, "/sys$login:test.txt" does not&lt;BR /&gt;look like any of what you said was in your&lt;BR /&gt;batch file.</description>
      <pubDate>Tue, 22 Jul 2008 20:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238647#M56743</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-07-22T20:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238648#M56744</link>
      <description>Just for fun (!), I tried "/sys$login:test.txt" with the same results.&lt;BR /&gt;&lt;BR /&gt;Dumb question: I'm entering the SFTP command (sftp -v "-B" test.cmd "csmalley@sysdev") at the system prompt. I don't need to have in a VMS batch job, do I?</description>
      <pubDate>Tue, 22 Jul 2008 21:15:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238648#M56744</guid>
      <dc:creator>Stephen Daddona</dc:creator>
      <dc:date>2008-07-22T21:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238649#M56745</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I don't need to have in a VMS batch job,&lt;BR /&gt;&amp;gt; do I?&lt;BR /&gt;&lt;BR /&gt;I didn't, did I?  (I thought that a big advantage of providing a transcript was&lt;BR /&gt;obviating questions like that.)&lt;BR /&gt;&lt;BR /&gt;Around here, with "-v":&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;SshFileXferClient/SSHFILEXFERC.C:1441: ssh_file_client_receive_proc: coming in w&lt;BR /&gt;ith extension data, OpenVMS host&lt;BR /&gt;SshFileXferClient/SSHFILEXFERC.C:1487: vms_plus_sftp_version = 2&lt;BR /&gt;SshFileCopy/SSHFILECOPY.C:1019: Connection to remote host 'sms@alp', ready to se&lt;BR /&gt;rve requests.&lt;BR /&gt;sftp&amp;gt; put sftp/sftp.test&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:368: File is "raw", and it needs to be parsed.&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2780: Received SSH_FXP_STAT&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2804: Statting file `sftp/sftp.test'&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2321: File list has 2 files.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:575: Next source file is sftp/sftp.test .&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:206: Received error `syserr: no such file or dire&lt;BR /&gt;ctory, file: ./sftp.test' (2).&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:1907: Received SSH_FXP_OPEN&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2001: Downloading `sftp/sftp.test'&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;Note that _my_ "Next source file" name agrees&lt;BR /&gt;with what's in _my_ batch file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  Just for fun (!), I tried&lt;BR /&gt;&amp;gt; "/sys$login:test.txt" with the same&lt;BR /&gt;&amp;gt; results.&lt;BR /&gt;&lt;BR /&gt;So far as I can tell, you're _always_ using&lt;BR /&gt;that colon.  Are you sure that you know which batch file you're using?&lt;BR /&gt;&lt;BR /&gt;For the record, adding "setext txt" to my&lt;BR /&gt;batch file had no significant effect.</description>
      <pubDate>Tue, 22 Jul 2008 21:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238649#M56745</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-07-22T21:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238650#M56746</link>
      <description>I tried /sys$login/test.txt (see my original submission)&lt;BR /&gt;&lt;BR /&gt;I also put it (and the others in double-quotes - no difference.&lt;BR /&gt;&lt;BR /&gt;I'll keep trying!</description>
      <pubDate>Tue, 22 Jul 2008 22:04:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238650#M56746</guid>
      <dc:creator>Stephen Daddona</dc:creator>
      <dc:date>2008-07-22T22:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238651#M56747</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I tried /sys$login/test.txt (see my&lt;BR /&gt;&amp;gt; original submission)&lt;BR /&gt;&lt;BR /&gt;You mean the original submission where it&lt;BR /&gt;says this?:&lt;BR /&gt;&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:462: Next source file is /sys$login:test.txt .&lt;BR /&gt;&lt;BR /&gt;I see a colon there.  I don't see one in my&lt;BR /&gt;transcript.&lt;BR /&gt;&lt;BR /&gt;Of course, I also don't know any of your&lt;BR /&gt;software versions.  (I showed you mine, ...)</description>
      <pubDate>Tue, 22 Jul 2008 22:30:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238651#M56747</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-07-22T22:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238652#M56748</link>
      <description>Graig, try the process interactively and report the complete results. Verbose will give us the software version of client and server. &lt;BR /&gt;&lt;BR /&gt;$ sftp -v "csmalley@sysdev"&lt;BR /&gt;&amp;gt;ls *.* !test to see if dir lookups work.&lt;BR /&gt;&amp;gt;put test.txt&lt;BR /&gt;&lt;BR /&gt;Changing to stream_lf is best performed with FDL.&lt;BR /&gt;&lt;BR /&gt;$ convert/fdl=sys$input input output&lt;BR /&gt;  record;  format  stream_lf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jul 2008 22:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238652#M56748</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2008-07-22T22:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238653#M56749</link>
      <description>If you are using HP TCPIP for VMS then you have to be up to date to have any chance of this working.</description>
      <pubDate>Wed, 23 Jul 2008 08:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238653#M56749</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2008-07-23T08:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP doesn't PUT the file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238654#M56750</link>
      <description>Craig, has the problem been solved ?</description>
      <pubDate>Mon, 04 Aug 2008 14:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-doesn-t-put-the-file/m-p/4238654#M56750</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2008-08-04T14:08:56Z</dc:date>
    </item>
  </channel>
</rss>

