<?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: Direct url to download document in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324970#M11971</link>
    <description>&lt;P&gt;Hello Yousuf,
Thanks for the reply, I'll try the solution tomorrow.
And if I don't use Share-it function, is-it possible to pass in the URL the login and password?
If yes, can-you give me an example?
Thank you
Benoit&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2016 19:26:39 GMT</pubDate>
    <dc:creator>Benoit_Durruty</dc:creator>
    <dc:date>2016-02-25T19:26:39Z</dc:date>
    <item>
      <title>Direct url to download document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324968#M11969</link>
      <description>&lt;P&gt;Hello,
I want to download a document in Nuxeo from an another application.
I trry an url : &lt;A href="http://nuxeo_server:8080/nuxeo/nxfile/default/9f8c190a-dd27-4d77-9c0a-a3b4cd95abbc/file:content/DEMABOX000000137.pdf" target="test_blank"&gt;http://nuxeo_server:8080/nuxeo/nxfile/default/9f8c190a-dd27-4d77-9c0a-a3b4cd95abbc/file:content/DEMABOX000000137.pdf&lt;/A&gt;
Nuxeo need a login and a password.
How to download Anonymous the file ?
Thanks
Benoit&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 16:33:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324968#M11969</guid>
      <dc:creator>Benoit_Durruty</dc:creator>
      <dc:date>2016-02-25T16:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Direct url to download document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324969#M11970</link>
      <description>&lt;P&gt;Hi Benoit,&lt;/P&gt;
&lt;P&gt;Have you tried this? &lt;A href="https://doc.nuxeo.com/display/USERDOC/EasyShare" target="test_blank"&gt;https://doc.nuxeo.com/display/USERDOC/EasyShare&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe that helps.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Yousuf&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:11:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324969#M11970</guid>
      <dc:creator>Yousuf_Nejati</dc:creator>
      <dc:date>2016-02-25T17:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Direct url to download document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324970#M11971</link>
      <description>&lt;P&gt;Hello Yousuf,
Thanks for the reply, I'll try the solution tomorrow.
And if I don't use Share-it function, is-it possible to pass in the URL the login and password?
If yes, can-you give me an example?
Thank you
Benoit&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 19:26:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324970#M11971</guid>
      <dc:creator>Benoit_Durruty</dc:creator>
      <dc:date>2016-02-25T19:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Direct url to download document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324971#M11972</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;Nuxeo requires always authentication each request, by default. But, as Yousuf says you can use EasyShare link to download with anonymous auth as well. EasyShare use an unauthenticated URL, you can find below: &lt;A href="https://doc.nuxeo.com/display/NXDOC/Authentication+and+User+Management" target="test_blank"&gt;https://doc.nuxeo.com/display/NXDOC/Authentication+and+User+Management&lt;/A&gt;. So, I think If you need that another applications download documents with no auth, you can contribute to a new unauthenticated URL and create a CoreSession instance with an user principal (ie. &lt;EM&gt;downloader&lt;/EM&gt;) to get the document and attach to response.&lt;/P&gt;
&lt;P&gt;You can find how to do a contribution for that, here: &lt;A href="https://doc.nuxeo.com/display/ADMINDOC/Authentication,+Users+and+Groups#Authentication%2CUsersandGroups-AdvancedAuthenticationSchemes" target="test_blank"&gt;https://doc.nuxeo.com/display/ADMINDOC/Authentication,+Users+and+Groups#Authentication%2CUsersandGroups-AdvancedAuthenticationSchemes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And examples for openUrl of EasyShare: &lt;A href="http://explorer.nuxeo.com/nuxeo/site/distribution/current/viewContribution/org.nuxeo.easyshare.auth.contrib--openUrl" target="test_blank"&gt;http://explorer.nuxeo.com/nuxeo/site/distribution/current/viewContribution/org.nuxeo.easyshare.auth.contrib--openUrl&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope that helps to you.&lt;/P&gt;
&lt;P&gt;Regards,
VS!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 12:02:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324971#M11972</guid>
      <dc:creator>Victor_Sánchez</dc:creator>
      <dc:date>2016-02-26T12:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Direct url to download document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324972#M11973</link>
      <description>&lt;P&gt;Thanks a lot for all replies
Benoit&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 19:27:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/direct-url-to-download-document/m-p/324972#M11973</guid>
      <dc:creator>Benoit_Durruty</dc:creator>
      <dc:date>2016-03-01T19:27:31Z</dc:date>
    </item>
  </channel>
</rss>

