<?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 and directory . in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465507#M58512</link>
    <description>Right after initial login pwd tells we are at / but attempt to do ls or pretty much whateever (relative current location as of / as pwd says or . like it looks be also)&lt;BR /&gt;fails.&lt;BR /&gt;&lt;BR /&gt;CD to absolute path succeeds as shown. &lt;BR /&gt;&lt;BR /&gt;I have no interactive access to remote end so it is pretty much impossible to tell anything about it. &lt;BR /&gt;&lt;BR /&gt;psftp aka putty sftp version used was 0.60 but with this client no problem at all.&lt;BR /&gt;&lt;BR /&gt;The problem occurs when using HP TCPIP openVMS SFTP client. Versions used so far have from V5.5 ECO 3, V5.6 ECO 2, 3 and 4.&lt;BR /&gt;&lt;BR /&gt;To me it looks like client thinks current directory is "." and the remote end has trouble understanding this .  directory right after initial login.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sftp&amp;gt; pwd&lt;BR /&gt;/&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;fcr_parse_raw: . (src): no such file (server msg: 'File not found')&lt;BR /&gt;sftp&amp;gt; cd //&lt;BR /&gt;/&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;.&lt;BR /&gt;Download&lt;BR /&gt;Upload&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway I dont have "problem" any more since we have invented a workaround already and my customer can now proceed.&lt;BR /&gt;&lt;BR /&gt;I just though this was a strange behaviour&lt;BR /&gt;&lt;BR /&gt;_veli</description>
    <pubDate>Sun, 26 Jul 2009 06:25:43 GMT</pubDate>
    <dc:creator>Veli Körkkö</dc:creator>
    <dc:date>2009-07-26T06:25:43Z</dc:date>
    <item>
      <title>SFTP and directory .</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465501#M58506</link>
      <description>VMS_HP_TCPIP_SERVICES$ sftp username@experian..&lt;BR /&gt;password given&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;fcr_parse_raw: . (src): no such file (server msg: 'File not found')&lt;BR /&gt;sftp&amp;gt; ls /&lt;BR /&gt;fcr_parse_raw: / (src): no such file (server msg: 'File not found')&lt;BR /&gt;sftp&amp;gt; cd /&lt;BR /&gt;CD failed.&lt;BR /&gt;/&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;fcr_parse_raw: . (src): no such file (server msg: 'File not found')&lt;BR /&gt;&lt;BR /&gt;So immediately after login various commands like ls, put etc fail like above&lt;BR /&gt;&lt;BR /&gt;Using some other client (Putty sftp) I get to know there are Upload and Download diretories&lt;BR /&gt;&lt;BR /&gt;Attemp to change directory to those fails also&lt;BR /&gt;fails like&lt;BR /&gt;&lt;BR /&gt;sftp&amp;gt; cd Upload&lt;BR /&gt;CD failed.&lt;BR /&gt;/&lt;BR /&gt;sftp&amp;gt; cd Download&lt;BR /&gt;CD failed.&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But if I use "absolute path" like   cd /Upload it will succeed and then a put is possible like&lt;BR /&gt;&lt;BR /&gt;sftp&amp;gt; cd /Upload&lt;BR /&gt;/Upload&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;.&lt;BR /&gt;sftp&amp;gt; cd ..&lt;BR /&gt;/&lt;BR /&gt;sftp&amp;gt; pwd&lt;BR /&gt;/&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;.&lt;BR /&gt;Download&lt;BR /&gt;Upload&lt;BR /&gt;sftp&amp;gt; quit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To me it seems that maybe the remote host does not implemement directory . somehow right after login&lt;BR /&gt;&lt;BR /&gt;sftp&amp;gt; debug 5&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;SshFileCopy/SSHFILECOPY.C:685: Allocating SshFileCopyFileListItem structure...&lt;BR /&gt;SshFCGlob/SSHFC_GLOB.C:803: Adding file . 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:366: Source connection OK.&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:398: File is "raw", and it needs to be parsed.&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:331: Received error `File not found' (2).&lt;BR /&gt;Sftp2/SFTP2.C:3289: Error while recursing&lt;BR /&gt;fcr_parse_raw: . (src): no such file (server msg: 'File not found')&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:737: No more files in this list.&lt;BR /&gt;Sftp2/SFTP2.C:3276: Recursing ready&lt;BR /&gt;Sftp2/SFTP2.C:3393: Asking the pager to finish.&lt;BR /&gt;Sftp2/SFTP2.C:3359: Pager Finished&lt;BR /&gt;&lt;BR /&gt;If I change directory to /Upload and then back using cd .. then&lt;BR /&gt;&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;SshFileCopy/SSHFILECOPY.C:685: Allocating SshFileCopyFileListItem structure...&lt;BR /&gt;SshFCGlob/SSHFC_GLOB.C:803: Adding file /. 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:366: Source connection OK.&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:398: File is "raw", and it needs to be parsed.&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:517: File . is a directory. Starting recursion...&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:954: Opening directory /....&lt;BR /&gt;.&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:1208: SshFileRecurseFunc returned FALSE, so we don't want to traverse this directory.&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:1208: SshFileRecurseFunc returned FALSE, so we don't want to traverse this directory.&lt;BR /&gt;Download&lt;BR /&gt;Upload&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:331: Received error `eof' (1).&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:728: Current location list is at it's end. Moving to next...&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:737: No more files in this list.&lt;BR /&gt;Sftp2/SFTP2.C:3276: Recursing ready&lt;BR /&gt;Sftp2/SFTP2.C:3393: Asking the pager to finish.&lt;BR /&gt;Sftp2/SFTP2.C:3359: Pager Finished&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Above tests were performed using OpenVMS Alpha V8.2 and HP TCPIP SERVICES V5.5 ECO 3. &lt;BR /&gt;&lt;BR /&gt;Similar behaviour has been to large extent using OpenVMS Alpha V8.3 TCPIP v5.6 ECO 2 and ECO 4 and most notably on the original machine, OpenVMS V8.3 Integrity, TCPIP V5.6 ECO 3.&lt;BR /&gt;&lt;BR /&gt;any comments whether this problem would be a problem on the VMS SFTP client side or rather at the remote end (operating system etc details unknown)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;_veli</description>
      <pubDate>Thu, 23 Jul 2009 11:44:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465501#M58506</guid>
      <dc:creator>Veli Körkkö</dc:creator>
      <dc:date>2009-07-23T11:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP and directory .</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465502#M58507</link>
      <description>What is the login directory on the remote node ? Do you have access to it ? &lt;BR /&gt;&lt;BR /&gt;It should be "/" because you expect to find "Upload" in it. But I guess you don't have access to / but only to /Upload.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Fri, 24 Jul 2009 13:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465502#M58507</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2009-07-24T13:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP and directory .</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465503#M58508</link>
      <description>Yes I do have access because I can see the contents properly with say PUTTY SFTP utility BUT NOT WITH OPENVMS SFTP. So this is some kind of strange combatability problem. My question do we hesitate to guess the problem is more with the other (remote) end rather than OpenVMS sftp client?&lt;BR /&gt;&lt;BR /&gt;_veli</description>
      <pubDate>Fri, 24 Jul 2009 16:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465503#M58508</guid>
      <dc:creator>Veli Körkkö</dc:creator>
      <dc:date>2009-07-24T16:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP and directory .</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465504#M58509</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] at the remote end (operating system&lt;BR /&gt;&amp;gt; etc details unknown)&lt;BR /&gt;&lt;BR /&gt;So, knowing nothing about the software on the&lt;BR /&gt;remote system, we have no real knowledge of&lt;BR /&gt;how it interprets a directory spec like "/".&lt;BR /&gt;Or do we?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I can see the contents properly with&lt;BR /&gt;&amp;gt; say PUTTY SFTP utility [...]&lt;BR /&gt;&lt;BR /&gt;So, the next question might be what does&lt;BR /&gt;PuTTY do, about which I also know nothing.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; sftp&amp;gt; debug 5&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Where's the corresponding output from PuTTY?&lt;BR /&gt;&lt;BR /&gt;What I do know is that dealing with different&lt;BR /&gt;plain FTP servers is more complicated than&lt;BR /&gt;one might think.  I have no reason to believe&lt;BR /&gt;that dealing with different SFTP servers is&lt;BR /&gt;any less complicated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Current location list is at it's end. Moving to next...&lt;BR /&gt;&lt;BR /&gt;In any case, I wouldn't trust any programmer&lt;BR /&gt;who can't be trusted with an apostrophe.</description>
      <pubDate>Fri, 24 Jul 2009 18:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465504#M58509</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-07-24T18:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP and directory .</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465505#M58510</link>
      <description>the SSH File Transfer Protocol specification defines file specification syntax so that there is no question on how the other side SHOULD treat "/".  But, I have seen implementations of SFTP that restricted the STAT operation and therefore made it difficult for other implementations to inter-operate.</description>
      <pubDate>Sat, 25 Jul 2009 10:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465505#M58510</guid>
      <dc:creator>Richard Whalen</dc:creator>
      <dc:date>2009-07-25T10:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP and directory .</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465506#M58511</link>
      <description>I'm missing the output of pwd while it goes wrrong. Then we can see where sftp thiks we are. May be a syntax is in it that is incorrect ?&lt;BR /&gt;&lt;BR /&gt;version could tell something too.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Sun, 26 Jul 2009 02:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465506#M58511</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2009-07-26T02:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP and directory .</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465507#M58512</link>
      <description>Right after initial login pwd tells we are at / but attempt to do ls or pretty much whateever (relative current location as of / as pwd says or . like it looks be also)&lt;BR /&gt;fails.&lt;BR /&gt;&lt;BR /&gt;CD to absolute path succeeds as shown. &lt;BR /&gt;&lt;BR /&gt;I have no interactive access to remote end so it is pretty much impossible to tell anything about it. &lt;BR /&gt;&lt;BR /&gt;psftp aka putty sftp version used was 0.60 but with this client no problem at all.&lt;BR /&gt;&lt;BR /&gt;The problem occurs when using HP TCPIP openVMS SFTP client. Versions used so far have from V5.5 ECO 3, V5.6 ECO 2, 3 and 4.&lt;BR /&gt;&lt;BR /&gt;To me it looks like client thinks current directory is "." and the remote end has trouble understanding this .  directory right after initial login.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sftp&amp;gt; pwd&lt;BR /&gt;/&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;fcr_parse_raw: . (src): no such file (server msg: 'File not found')&lt;BR /&gt;sftp&amp;gt; cd //&lt;BR /&gt;/&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;.&lt;BR /&gt;Download&lt;BR /&gt;Upload&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway I dont have "problem" any more since we have invented a workaround already and my customer can now proceed.&lt;BR /&gt;&lt;BR /&gt;I just though this was a strange behaviour&lt;BR /&gt;&lt;BR /&gt;_veli</description>
      <pubDate>Sun, 26 Jul 2009 06:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-and-directory/m-p/4465507#M58512</guid>
      <dc:creator>Veli Körkkö</dc:creator>
      <dc:date>2009-07-26T06:25:43Z</dc:date>
    </item>
  </channel>
</rss>

