<?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 Copy content to FTP automatically at deployment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/copy-content-to-ftp-automatically-at-deployment/m-p/246874#M200004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just wrote &lt;/SPAN&gt;&lt;A href="http://nicolas-raoul.blogspot.com/2011/01/automatically-deploy-alfresco-wcm.html" rel="nofollow noopener noreferrer"&gt;this blog post&lt;/A&gt;&lt;SPAN&gt; explaining how to configure Alfresco WCM so that when clicking "Deploy", all modified web content is sent to an FTP server (for instance the server that hosts your website).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feedback is welcome! Especially if you know better ways to do things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And Happy New Year 2011!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicolas Raoul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jan 2011 06:17:04 GMT</pubDate>
    <dc:creator>nicolasraoul</dc:creator>
    <dc:date>2011-01-12T06:17:04Z</dc:date>
    <item>
      <title>Copy content to FTP automatically at deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/copy-content-to-ftp-automatically-at-deployment/m-p/246874#M200004</link>
      <description>Hello all!I just wrote this blog post explaining how to configure Alfresco WCM so that when clicking "Deploy", all modified web content is sent to an FTP server (for instance the server that hosts your website).Feedback is welcome! Especially if you know better ways to do things.And Happy New Year 2</description>
      <pubDate>Wed, 12 Jan 2011 06:17:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/copy-content-to-ftp-automatically-at-deployment/m-p/246874#M200004</guid>
      <dc:creator>nicolasraoul</dc:creator>
      <dc:date>2011-01-12T06:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Copy content to FTP automatically at deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/copy-content-to-ftp-automatically-at-deployment/m-p/246875#M200005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you contribute your error handling changes please.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 09:03:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/copy-content-to-ftp-automatically-at-deployment/m-p/246875#M200005</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-01-12T09:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy content to FTP automatically at deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/copy-content-to-ftp-automatically-at-deployment/m-p/246876#M200006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Calling it "error handling" would be presumptuous, I just dump everything to the standard output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But at least it might be better than silently ignoring any error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As linked in my blog post, the modified source code is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/nicolas-raoul/Nicolas-Raoul-Blog/raw/master/2011-01-12/ProgramRunnable.java" rel="nofollow noopener noreferrer"&gt;https://github.com/nicolas-raoul/Nicolas-Raoul-Blog/raw/master/2011-01-12/ProgramRunnable.java&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;It is just the "System.out.println(line);" in the last method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It gets written in nohup.out, which is kind of AlfrescoDeployment's log.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another small thing I fixed is the extension for the temp file, it was creating "deployment732654325txt" files where "deployment732654325.txt" was probably intended. The previous code was probably due to the File.createTempFile method's questionable habit of not including the "." character. Not that anybody cares about extensions of temp files, though…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicolas Raoul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 09:12:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/copy-content-to-ftp-automatically-at-deployment/m-p/246876#M200006</guid>
      <dc:creator>nicolasraoul</dc:creator>
      <dc:date>2011-01-12T09:12:55Z</dc:date>
    </item>
  </channel>
</rss>

