<?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: WCM FTP deployment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149356#M104341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The FileSystem Receiver is a separate process that would be installed on your web server.&amp;nbsp; It acts as an RMI server and the main ("authoring") instance of Alfresco connects to it (as an RMI client) whenever deployment is initiated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's an enhancement request in JIRA to allow the over-the-wire protocol used for deployment to be pluggable (see &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/ETWOTWO-436" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/ETWOTWO-436&lt;/A&gt;&lt;SPAN&gt;), but I don't think FTP would be sufficient (deployment requires more than just remote file I/O APIs, which is all that FTP provides).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2008 16:07:48 GMT</pubDate>
    <dc:creator>pmonks</dc:creator>
    <dc:date>2008-05-27T16:07:48Z</dc:date>
    <item>
      <title>WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149355#M104340</link>
      <description>Hello,i have some web space where i can upload files using ftp. Using Alfresco Deployment, i can define a File Server Receiver (FSR) which connects to a remote server using RMI. I don't understand RMI and i wouldn't know if my web server supports it, but the most obvious way for me would be to conne</description>
      <pubDate>Tue, 27 May 2008 13:30:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149355#M104340</guid>
      <dc:creator>rscheele</dc:creator>
      <dc:date>2008-05-27T13:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149356#M104341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The FileSystem Receiver is a separate process that would be installed on your web server.&amp;nbsp; It acts as an RMI server and the main ("authoring") instance of Alfresco connects to it (as an RMI client) whenever deployment is initiated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's an enhancement request in JIRA to allow the over-the-wire protocol used for deployment to be pluggable (see &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/ETWOTWO-436" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/ETWOTWO-436&lt;/A&gt;&lt;SPAN&gt;), but I don't think FTP would be sufficient (deployment requires more than just remote file I/O APIs, which is all that FTP provides).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 16:07:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149356#M104341</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-05-27T16:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149357#M104342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That said, you could implement a custom FSR deployment runnable that acts as an FTP client and pushes deployment deltas over to an FTP server.&amp;nbsp; In this model the FSR itself doesn't have to run on your web server (it would probably run on the same server as the Alfresco authoring instance).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The interface you'd implement to do this is called "FSDeploymentRunnable".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 16:20:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149357#M104342</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-05-27T16:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149358#M104343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And just to follow up again (last time, I promise!&amp;nbsp; :wink&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;, you actually don't have to write Java code to do this.&amp;nbsp; FSRs can invoke custom shell scripts, so you could simply write a shell script that invokes an FTP client, providing it with the FTP commands (put, mkdir, delete, etc.) equivalent to the operations listed in the deployment delta's manifest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 16:45:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149358#M104343</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-05-27T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149359#M104344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thnx for your helpful words. I don't fully understand why deployment should be more than file transfer in some occassions, eg mine where i just place the web content on the www root of my web server. I only have file access, how should i setup that interface? I do not have root access to that server (virtualised web server)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 07:42:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149359#M104344</guid>
      <dc:creator>rscheele</dc:creator>
      <dc:date>2008-05-29T07:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149360#M104345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Alfresco deployment functionality only sends deltas (ie. files that are new, updated or deleted since the last deployment) and in order to calculate the delta it needs to know which revision (if any) the target (whether an ASR or FSR) is currently at.&amp;nbsp; FTP (and other file transfer oriented protocols) don't support that kind of "API call", so they can't be used (at least not exclusively) for deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on your description, I'd go with the "FSR + custom shell script" approach.&amp;nbsp; You'd install an FSR on the same server as the Alfresco authoring instance and configure it to call your custom shell script whenever deployment is initiated.&amp;nbsp; The shell script would read the deployment manifest (which describes the delta that's being deployed as a list of file / operation pairs) and then perform the equivalent FTP operations against the (remote) web server machine.&amp;nbsp; The net result is that the web server machine doesn't need anything more than an FTP server running on it in order to support deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would also be fantastic if you could submit the shell script back to the community once you've implemented it (since it should be pretty reusable).&amp;nbsp; Probably the best place to put it is the "wcm-deployment" forge project (&lt;/SPAN&gt;&lt;A href="http://forge.alfresco.com/projects/wcm-deployment/" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/projects/wcm-deployment/&lt;/A&gt;&lt;SPAN&gt;) - I can set you up with commit privileges for that project if you'd like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 18:02:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149360#M104345</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-05-29T18:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149361#M104346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know if the custom shell script for FTP deployment using an FSR ever get written.&amp;nbsp; I currently have a requirement for the same functionality (FTP changed pages to a site hosted by an ISP).&amp;nbsp;&amp;nbsp;&amp;nbsp; Or, is there a new way to do this since this post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 06:49:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149361#M104346</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2008-07-04T06:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149362#M104347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Something that I've tried with some success is using the FSR to deploy to a local space, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then trigger (the post-deploy trigger action is defined in a context.xml) a batch file to push the files to the remote web-server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd recommend using RSync (on top of Cygwin on a Windows server) to push just the deltas, across to a listening RSync daemon. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can execute RSync over SSL too. (Incidentally, if you're using SSL, you could use SFTP too).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 13:51:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149362#M104347</guid>
      <dc:creator>tommorris</dc:creator>
      <dc:date>2008-07-04T13:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149363#M104348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One of the nice things about rsync is that it uses block-level deltas, so when used on top of the directory tree deltas that Alfresco calculates you get a really specific set of deltas (only the files that are new / modified / deleted are replicated, and for updated files only those blocks that have changed are replicated).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing I'm not sure about is how rsync handles deletes - if the manifest calculated by Alfresco includes a delete, does rsync correctly replicate it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 14:40:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149363#M104348</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-07-04T14:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149364#M104349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it does handle deletes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And you're right about the sub-file diffs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 14:58:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149364#M104349</guid>
      <dc:creator>tommorris</dc:creator>
      <dc:date>2008-07-04T14:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149365#M104350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The only caveat to using rsync is that I've found it to be quite chatty, so if you're running it over a low bandwidth or high latency connection, you may find you're better off using vanilla FTP (which seems to be better behaved on those kinds of connections).&amp;nbsp; It seems a bit counter intuitive that a "dumb" protocol such as FTP can be more performant in some cases, but I guess calculating which blocks have changed is an (I/O and network) expensive operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 15:10:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149365#M104350</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-07-04T15:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149366#M104351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you're probably right Peter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: You can can also configure rsync to perform file-level diffs - maybe that speeds things up a bit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 15:14:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149366#M104351</guid>
      <dc:creator>tommorris</dc:creator>
      <dc:date>2008-07-04T15:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: WCM FTP deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149367#M104352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks alot for the suggestions.&amp;nbsp; I will look into rsynch.&amp;nbsp; It sounds like the right solution for this problem.&amp;nbsp; While I am on the subject, where do you download the FSR softeware from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jul 2008 11:41:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-ftp-deployment/m-p/149367#M104352</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2008-07-06T11:41:21Z</dc:date>
    </item>
  </channel>
</rss>

