<?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  - PUT makes a zero length file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125950#M56827</link>
    <description>.</description>
    <pubDate>Wed, 10 Sep 2008 09:36:43 GMT</pubDate>
    <dc:creator>Steve-Thompson</dc:creator>
    <dc:date>2008-09-10T09:36:43Z</dc:date>
    <item>
      <title>SFTP  - PUT makes a zero length file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125944#M56821</link>
      <description>Good day Forum&lt;BR /&gt;&lt;BR /&gt;I have set up and tested SFTP between 2 Alpha-OpenVMS servers and its working interactivley and in batch.&lt;BR /&gt;&lt;BR /&gt;Now I want to PUT files onto a third party unix system. The result is a zero length file but with the correct file name and location.&lt;BR /&gt;&lt;BR /&gt;I can "rm" these empty files within an interactive SFTP session, so I'm inclined to think the problem is my end (OpenVMS).&lt;BR /&gt;&lt;BR /&gt;I'm doing tests interactivly with password login, ie I'm not using a key for the moment.&lt;BR /&gt;&lt;BR /&gt;Some backgound:-&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; sho ver&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 7&lt;BR /&gt;  on a AlphaServer 1000A 5/400 running OpenVMS V7.3-2&lt;BR /&gt;----------------------&lt;BR /&gt;What happens....&lt;BR /&gt;&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;.&lt;BR /&gt;SSH2&lt;BR /&gt;folderMonitor&lt;BR /&gt;incoming&lt;BR /&gt;ssh2&lt;BR /&gt;sftp&amp;gt; cd incoming&lt;BR /&gt;/incoming&lt;BR /&gt;sftp&amp;gt; debug 3&lt;BR /&gt;sftp&amp;gt; put test.dat&lt;BR /&gt;SshFCGlob/SSHFC_GLOB.C:803: Adding file test.dat to file list without globbing...&lt;BR /&gt;SshFCGlob/SSHFC_GLOB.C:649: File list is at its end.&lt;BR /&gt;SshFCGlob/SSHFC_GLOB.C:980: Destroying global data...&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:398: File is "raw", and it needs to be parsed.&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3196: Received SSH_FXP_STAT&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3269: SSH_FXP_STAT test.dat&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3271: Statting file `test.dat'&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3406: rfm=FAB$C_STMLF&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3509: attrs-&amp;gt;size=480&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:568: File test.dat is not a directory. Adding it to list...&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:737: No more files in this list.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2463: File list has 2 files.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:355: Setting next source file item...&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:561: Next source file is /test.dat .&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1283: Statting source file test.dat...&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3196: Received SSH_FXP_STAT&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3269: SSH_FXP_STAT test.dat&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3271: Statting file `test.dat'&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3406: rfm=FAB$C_STMLF&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3509: attrs-&amp;gt;size=480&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1432: Statting destination file incoming/. before trying to remove it...&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1654: Statting destination file to check len incoming/./test.dat...&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2240: Received SSH_FXP_OPEN&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2318: SSH_FXP_OPEN test.dat&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2334: Downloading `test.dat'&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2402: rfm=FAB$C_STMLF&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1456: Statting destination file incoming/./test.dat...&lt;BR /&gt;SshReadLine/SSHREADLINE.C:3728: Uninitializing ReadLine...&lt;BR /&gt;FATAL: BUILD13$:[TCPIP_V54_BLECO7.SRC.SSH2]SSHFC_TRANSFER.C;1:1835 SshFCTransfer (function name unavailable) Assertion failed: tdat4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;%TCPIP-F-SSH_FATAL, non-specific fatal error condition&lt;BR /&gt;system@vigia2&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2008 08:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125944#M56821</guid>
      <dc:creator>Steve-Thompson</dc:creator>
      <dc:date>2008-08-22T08:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP  - PUT makes a zero length file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125945#M56822</link>
      <description>I think that it's a program error, not a user error.  The SFTP server on the Unix system is returning something unexpected, or not returning something that is expected, and this is causing a problem for the SFTP client.</description>
      <pubDate>Fri, 22 Aug 2008 23:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125945#M56822</guid>
      <dc:creator>Richard Whalen</dc:creator>
      <dc:date>2008-08-22T23:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP  - PUT makes a zero length file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125946#M56823</link>
      <description>&lt;!--!*#--&gt;Are you offering any hints as to what,&lt;BR /&gt;exactly, is running on that "third party&lt;BR /&gt;unix system"?  (Or do you believe that if&lt;BR /&gt;you've seen one UNIX, you've seen them all?)&lt;BR /&gt;&lt;BR /&gt;Around here, with a Solaris system:&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2240: Received SSH_FXP_OPEN&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2318: SSH_FXP_OPEN fred.dat&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2334: Downloading `fred.dat'&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2402: rfm=FAB$C_STMLF&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1456: Statting destination file ./fred.dat...&lt;BR /&gt;&lt;BR /&gt;debug(23-AUG-2008 22:44:06.49): Ssh2Transport/TRCOMMON.C:1105: Sending packet with type 2 to connection&lt;BR /&gt;debug(23-AUG-2008 22:44:06.50): Ssh2Transport/TRCOMMON.C:1105: Sending packet with type 94 to connection&lt;BR /&gt;debug(23-AUG-2008 22:44:06.50): Ssh2Transport/TRCOMMON.C:1105: Sending packet with type 2 to connection&lt;BR /&gt;debug(23-AUG-2008 22:44:06.50): Ssh2Transport/TRCOMMON.C:1105: Sending packet wiSshFCTransferCore/SSHFC_TRCORE.C:357: Starting transfer for file fred.dat, destination ./fred.dat&lt;BR /&gt;&lt;BR /&gt;debug(23-AUG-2008 22:44:06.50): Ssh2Transport/TRCOMMON.C:1105: Sending packet with type 2 to connection&lt;BR /&gt;debug(23-AUG-2008 22:44:06.50): Ssh2Transport/TRCOMMON.C:1105: Sending packet wifred.dat                          |    34B |   0.0 kB/s | TOC: 00:00:01 | 100%&lt;BR /&gt;SshFCTransferCore/SSHFC_TRCORE.C:851: Writer finished.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1943: Destination file attributes not available or that file is not a regular file; not changing attributes.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1972: Closing source file fred.dat...&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1989: Closing dest file ./fred.dat...&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2036: Finished with file ./fred.dat.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:355: Setting next source file item...&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:375: No more source files in this list.&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2909: Received SSH_FXP_CLOSE&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2911: SSH_FXP_CLOSE&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3013: Closed file `fred.dat' (handle=53a68d)&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ra# uname -a&lt;BR /&gt;SunOS ra 5.10 Generic_127127-11 sun4u sparc SUNW,UltraSPARC-IIi-cEngine&lt;BR /&gt;&lt;BR /&gt;ra# /usr/lib/ssh/sshd -xxx&lt;BR /&gt;sshd: illegal option -- x&lt;BR /&gt;sshd version Sun_SSH_1.1&lt;BR /&gt;[...]&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 7&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2  &lt;BR /&gt;&lt;BR /&gt;alp $ ssh "-V"&lt;BR /&gt;alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.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;&lt;BR /&gt;&amp;gt; sftp&amp;gt; cd incoming&lt;BR /&gt;&lt;BR /&gt;Practically every plain FTP attack I've ever&lt;BR /&gt;seen looks for a writable directory named&lt;BR /&gt;"incoming".  SFTP may be safer, but I'd avoid&lt;BR /&gt;that name on any system I managed.</description>
      <pubDate>Sun, 24 Aug 2008 02:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125946#M56823</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-08-24T02:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP  - PUT makes a zero length file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125947#M56824</link>
      <description>How about showing the results of&lt;BR /&gt;&lt;BR /&gt;$ sftp -V you@remote_host&lt;BR /&gt;&lt;BR /&gt;We had similar problems SFTPing from UCX VMS to Multinet VMS and had to limit the negotiated protocol version to 3 using a logical name.&lt;BR /&gt;&lt;BR /&gt;On the server side ...&lt;BR /&gt;$ define multinet_sftp_maximum_protocol_version 3&lt;BR /&gt;&lt;BR /&gt;My 2 cents.</description>
      <pubDate>Tue, 26 Aug 2008 01:10:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125947#M56824</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2008-08-26T01:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP  - PUT makes a zero length file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125948#M56825</link>
      <description>MultiNet's SFTP client &amp;amp; server have the ability to limit the version negotiated because there are occasional problems with operating at protocol version 4 with certain implementations and set ups.  There is a version of the TCP/IP services client that says it supports protocol version 999 when it sends the initialization message, but it really only supports version 3.  Usually it runs into an error while parsing a status message, but I suppose that it's possible that it might get as far as opening a file for write before it runs into an error.</description>
      <pubDate>Thu, 28 Aug 2008 09:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125948#M56825</guid>
      <dc:creator>Richard Whalen</dc:creator>
      <dc:date>2008-08-28T09:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP  - PUT makes a zero length file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125949#M56826</link>
      <description>Good morning all&lt;BR /&gt;&lt;BR /&gt;I've just returned to my desk, having had a short break 1000 or so Kms from the office.&lt;BR /&gt;&lt;BR /&gt;In this time the end client who has been reluctant to give any useful information on their SFTP implementation (obviously due to its sensitive nature), has informed me that it is incompatible with SFTP/SCP under VMS.&lt;BR /&gt;&lt;BR /&gt;So I will thank everyone for their interest &lt;BR /&gt;with a few points.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Sep 2008 09:35:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125949#M56826</guid>
      <dc:creator>Steve-Thompson</dc:creator>
      <dc:date>2008-09-10T09:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP  - PUT makes a zero length file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125950#M56827</link>
      <description>.</description>
      <pubDate>Wed, 10 Sep 2008 09:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-put-makes-a-zero-length-file/m-p/5125950#M56827</guid>
      <dc:creator>Steve-Thompson</dc:creator>
      <dc:date>2008-09-10T09:36:43Z</dc:date>
    </item>
  </channel>
</rss>

