<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Download file content from server via Volley</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118311840" />
  <subtitle>Download file content from server via Volley</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118311840</id>
  <updated>2026-04-05T08:51:34Z</updated>
  <dc:date>2026-04-05T08:51:34Z</dc:date>
  <entry>
    <title>RE: Download file content from server via Volley</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118312735" />
    <author>
      <name>László Tóth</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118312735</id>
    <updated>2020-01-22T07:29:00Z</updated>
    <published>2020-01-22T07:29:00Z</published>
    <summary type="html">You&amp;#39;re right! Thank you, the permission wasn&amp;#39;t added to guest user. It works!</summary>
    <dc:creator>László Tóth</dc:creator>
    <dc:date>2020-01-22T07:29:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: Download file content from server via Volley</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118310865" />
    <author>
      <name>Victor Galan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118310865</id>
    <updated>2020-01-21T15:42:15Z</updated>
    <published>2020-01-21T15:42:15Z</published>
    <summary type="html">Adding the oauth2 header to the request should do the trick, make sure the application has the &lt;strong&gt;download documents and images&lt;/strong&gt; scope is included </summary>
    <dc:creator>Victor Galan</dc:creator>
    <dc:date>2020-01-21T15:42:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Download file content from server via Volley</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118310851" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118310851</id>
    <updated>2020-01-21T15:40:33Z</updated>
    <published>2020-01-21T15:40:33Z</published>
    <summary type="html">Can you post it in the general forum? It&amp;#39;s related to permissions.</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2020-01-21T15:40:33Z</dc:date>
  </entry>
  <entry>
    <title>Download file content from server via Volley</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118311839" />
    <author>
      <name>László Tóth</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118311839</id>
    <updated>2020-01-21T15:38:43Z</updated>
    <published>2020-01-21T15:38:43Z</published>
    <summary type="html">Hi!&lt;br /&gt;I tried to download file from liferay server with Volley. &lt;br /&gt;I create the url like this: http://localhost:8080/documents/GroupId/FolderId/FileName/UUID, when I try to add this url to Volley it always give me the login site html as response. In browse redirects to login page.&lt;br /&gt;It must be work without authentication! &lt;br /&gt;When I create an url for images like: &lt;a href="http://localhost:8080/documents/GroupId/UUID"&gt;http://localhost:8080/documents/GroupId/UUID&lt;/a&gt;, It works fine, the image is shown by the browser&lt;br /&gt;How can I download the file content?&lt;br /&gt;Thanks</summary>
    <dc:creator>László Tóth</dc:creator>
    <dc:date>2020-01-21T15:38:43Z</dc:date>
  </entry>
</feed>
