6.7 and sFTP

Hi

I’ve upgraded a clients dev environment to 6.7 and I’m in the process of testing the new inbuilt sftp delivery type. I’ve notice however that everything is published to a “null” folder even though the content list has the correct location scheme.

I’m using freeSSHd as the sftp server and here’s an entry in the log file:

07-29-2009 14:59:19 IP 172.16.40.188 FTPdevLive is uploading /null/events/dw_cms_482.html (D:\Inetpub\Live
ull\events\dw_cms_482.html)

Here’s the content list:

<?xml version="1.0" encoding="utf-8"?>
<contentlist context="1" deliverytype="sftp">
   <contentitem contentid="482" revision="109" unpublish="no" variantid="420">
      <title>events_index</title>
      <contenturl>http://172.16.40.188:9992/Rhythmyx/assembler/render?sys_revision=109&sys_contentid=482&sys_folderid=306&sys_context=1&sys_siteid=305&sys_variantid=420&sys_authtype=1</contenturl>
      <delivery>
         <location>/events/dw_cms_482.html</location>
      </delivery>
      <modifydate>2009-07-29 00:00:00</modifydate>
      <modifyuser>rxserver</modifyuser>
      <contenttype>326</contenttype>
   </contentitem>
</contentlist>

Any clues?

Cheers
James

Even if I omit the first slash from the content list URL it still adds the null folder:

07-29-2009 15:39:58 IP 172.16.40.188 SSH connection attempt.
07-29-2009 15:39:58 IP 172.16.40.188 SSH FTPdevLive successfully logged on using password.
07-29-2009 15:39:58 SFTP service granted to user FTPdevLive.
07-29-2009 15:39:59 IP 172.16.40.188 FTPdevLive is uploading /null/default.asp (D:\Inetpub\Live
ull\default.asp)
07-29-2009 15:39:59 IP 172.16.40.188 SSH FTPdevLive disconnected.

content list xml

<?xml version='1.0' encoding='UTF-8'?>
<contentlist context="1" deliverytype="sftp">
  <contentitem contentid="442" revision="179" unpublish="no" variantid="424">
    
    <title>Homepage</title>
    <contenturl>http://172.16.40.188:9992/Rhythmyx/assembler/render?sys_revision=179&sys_contentid=442&sys_folderid=304&sys_context=1&sys_itemfilter=public&sys_siteid=305&sys_publish=publish&sys_template=424</contenturl>
    <delivery>
      <location>default.asp</location></delivery>
    <modifydate>2009-07-23 13:53:09</modifydate>
    <modifyuser>admin1</modifyuser>
    <contenttype>328</contenttype>
  </contentitem>
</contentlist>

Cheers
James

What is the “Published Path” property of the published/target site, and make sure you have installed the latest patch for 6.7.

James,

What is the JCR query you are using? Does it start from the //Sites node?

RLJII

Hi

What is the “Published Path” property of the published/target site, and make sure you have installed the latest patch for 6.7.

The published path has no value as the delivery location is stored in freeSSHd

What is the JCR query you are using? Does it start from the //Sites node?

It doesn’t use a JCR query as the content lists are legacy XML application. The system is 5.71 -> 6.52 -> 6.7

Cheers
James

Hi

As a test I’ve created 6.7 content lists and location schemes but I still get the same results.

We did have the old PSO sftp plugin installed and working (in 6.5.2) so I removed all the jars from the rxServices/WEB-INF/lib folder just incase there’s a conflict but still get the same null folder results.

Cheers
James

James,

Does standard file system publishing work correctly?

RLJII

Hi James,

I don’t think the sFTP in 6.7 is using the “delivery location is stored in freeSSFd”. However, the sFTP in 6.7 does use “the published path” of the site, which should not be a NULL.

I suggest you to enter the correct “published path” of the site and try it again.

Ben

Hi James,

The sFTP in 6.7 does use the login user’s directory, which may be what you refered to as “delivery location is stored in freeSSFd”. Again, see if it works if you set the “Published Path” of the site. Otherwise, you may contact tech support for further assistence.

Ben

Hi Ben

I got this working by changing the user’s login directory to “d:\Inetput” and the Rhythmyx published path to “Staging”.

This is a bit weird as on a completely different 6.6.1 system I have the user’s login directory to “d:\Inetpub\Staging” and the Rhythmyx published path has not been set and it works fine.

Cheers for the info
James