<?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 save an existing file on Alfresco to my hard disk in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128684#M90463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to download an existing file (on Company Home for example : it's a pdf file) to my hard drive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2007 13:04:55 GMT</pubDate>
    <dc:creator>majdi</dc:creator>
    <dc:date>2007-10-02T13:04:55Z</dc:date>
    <item>
      <title>save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128684#M90463</link>
      <description>HiI want to download an existing file (on Company Home for example : it's a pdf file) to my hard drive.How can I do?thanks</description>
      <pubDate>Tue, 02 Oct 2007 13:04:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128684#M90463</guid>
      <dc:creator>majdi</dc:creator>
      <dc:date>2007-10-02T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128685#M90464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does clicking on the icon not work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 13:47:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128685#M90464</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2007-10-02T13:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128686#M90465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excuse me but I want to do this programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I succeed to access via webservice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 14:21:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128686#M90465</guid>
      <dc:creator>majdi</dc:creator>
      <dc:date>2007-10-02T14:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128687#M90466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry - I misread which forum you'd posted in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you seen WebServiceSample3 in the SDK?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Service_Samples_for_Java" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Service_Samples_for_Java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 14:28:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128687#M90466</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2007-10-02T14:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128688#M90467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read it but which I want is that I open this file and save it into the hard drive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as I understand from the sample the method read or write just read the content.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 14:35:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128688#M90467</guid>
      <dc:creator>majdi</dc:creator>
      <dc:date>2007-10-02T14:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128689#M90468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have a dig a little deeper, you'll see in ContentUtils there's a method copyContentToFile() which should do what you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 15:37:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128689#M90468</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2007-10-02T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128690#M90469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some different issue but I think that related with. I am trying to access from a Java Application to the repository of Alfresco. I'd like to access files like if they were on the web, e.g: creating an URL("&lt;/SPAN&gt;&lt;A href="http://localhost.../webdav/file.html" rel="nofollow noopener noreferrer"&gt;http://localhost.../webdav/file.html&lt;/A&gt;&lt;SPAN&gt;) and open it. But I have an 401 HTTP error (I guess because of the authentication). My question is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;Ã‚Â·Does webDAV doesn't work as a file system when accessing from an external app?&lt;BR /&gt;Ã‚Â·Should I use the "Web_Service_Samples_for_Java"? In this case, should I write/modify this code in my project?&lt;/UL&gt;&lt;SPAN&gt;regards and thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 09:14:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128690#M90469</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2007-10-05T09:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128691#M90470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WebDAV should work as you suggest, however you also need to supply the authentication credentials, unless the file is accessible by the guest account.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can either use HTTP Basic authentication on the WebDAV request for the content, or use web services to obtain a ticket and supply that on the URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 10:04:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128691#M90470</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2007-10-05T10:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: save an existing file on Alfresco to my hard disk</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128692#M90471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had this kind of issue. Even if ContentUtils add the auth ticket to the content url, it will fail if that url is intercepted by an SSO auth filter (eg, NTLM or CAS).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have NTLM Auth, so what I did is to specify in web.xml the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;servlet-mapping&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;servlet-name&amp;gt;downloadContent&amp;lt;/servlet-name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;url-pattern&amp;gt;/download/*&amp;lt;/url-pattern&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;servlet-mapping&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;servlet-name&amp;gt;downloadContent&amp;lt;/servlet-name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;url-pattern&amp;gt;/ssofreedownload/*&amp;lt;/url-pattern&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The first pattern is the standard one and NTLM filtered. The second uses the same servlet but is not intercepted by NTLM. Here the auth ticket do its job. Then I get the content url, replace the url-pattern and retrieve it as a stream. Finally you can save it as file where you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alessandro&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I have some different issue but I think that related with. I am trying to access from a Java Application to the repository of Alfresco. I'd like to access files like if they were on the web, e.g: creating an URL("&lt;A href="http://localhost.../webdav/file.html" rel="nofollow noopener noreferrer"&gt;http://localhost.../webdav/file.html&lt;/A&gt;) and open it. But I have an 401 HTTP error (I guess because of the authentication). My question is:&lt;BR /&gt;&lt;UL&gt;Ã‚Â·Does webDAV doesn't work as a file system when accessing from an external app?&lt;BR /&gt;Ã‚Â·Should I use the "Web_Service_Samples_for_Java"? In this case, should I write/modify this code in my project?&lt;/UL&gt;regards and thanks&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 10:32:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/save-an-existing-file-on-alfresco-to-my-hard-disk/m-p/128692#M90471</guid>
      <dc:creator>alarocca</dc:creator>
      <dc:date>2007-10-05T10:32:35Z</dc:date>
    </item>
  </channel>
</rss>

