<?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 upload file to public file request with javascript in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/278700#M16705</link>
    <description>&lt;P&gt;I generated a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/help/files-folders/create-file-request" target="_blank" rel="nofollow noreferrer"&gt;public file request in Dropbox&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and would like to write some javascript code to programmatically upload a file which is generated on the flow (e.g.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;var myJsonString = JSON.stringify(myArray)) to the public folder.&lt;/P&gt;&lt;P&gt;As an example, I created this public folder:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/request/3gnn9m16eVCwxazuQIOF" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/request/3gnn9m16eVCwxazuQIOF&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:12:54 GMT</pubDate>
    <dc:creator>paykoman</dc:creator>
    <dc:date>2019-05-29T09:12:54Z</dc:date>
    <item>
      <title>upload file to public file request with javascript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/278700#M16705</link>
      <description>&lt;P&gt;I generated a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/help/files-folders/create-file-request" target="_blank" rel="nofollow noreferrer"&gt;public file request in Dropbox&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and would like to write some javascript code to programmatically upload a file which is generated on the flow (e.g.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;var myJsonString = JSON.stringify(myArray)) to the public folder.&lt;/P&gt;&lt;P&gt;As an example, I created this public folder:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/request/3gnn9m16eVCwxazuQIOF" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/request/3gnn9m16eVCwxazuQIOF&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:12:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/278700#M16705</guid>
      <dc:creator>paykoman</dc:creator>
      <dc:date>2019-05-29T09:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: upload file to public file request with javascript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/278912#M16713</link>
      <description>[Cross-linking for reference: &lt;A href="https://stackoverflow.com/questions/50656407/dropbox-upload-file-to-public-file-request-with-javascript" target="_blank"&gt;https://stackoverflow.com/questions/50656407/dropbox-upload-file-to-public-file-request-with-javascript&lt;/A&gt; ]&lt;BR /&gt;&lt;BR /&gt;The Dropbox API doesn't offer a way to programmatically upload to file requests, but I'll pass this along as a feature request.</description>
      <pubDate>Mon, 04 Jun 2018 15:02:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/278912#M16713</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-06-04T15:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: upload file to public file request with javascript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/279519#M16776</link>
      <description>&lt;P&gt;You can programmatically upload to a file request using the standard Dropbox `/upload` API. I've tested this and it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've described&amp;nbsp;this on Stack Overflow here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/50656407/dropbox-upload-file-to-public-file-request-with-javascript/50711970#50711970" target="_blank"&gt;https://stackoverflow.com/questions/50656407/dropbox-upload-file-to-public-file-request-with-javascript/50711970#50711970&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 15:56:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/279519#M16776</guid>
      <dc:creator>grokify</dc:creator>
      <dc:date>2018-06-08T15:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: upload file to public file request with javascript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/279548#M16785</link>
      <description>&lt;P&gt;Thanks for sharing that grokify! To highlight one important note from grokify's post, this only works if you have access to the account for the owner of the file request. I.e., this method is for uploading to the same folder that the file request happens to also be configured for (just like you can upload to any folder if you have that access, via an access token). It does not offer a way to upload to any arbitrary file request as another user, like the file request web site allows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, be aware that the designated folder for a file request can change at any time, so it would be best to check the folder path for the file request using&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#file_requests-list" target="_blank"&gt;/2/file_requests/list&lt;/A&gt; or&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#file_requests-get" target="_blank"&gt;/2/file_requests/get&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 17:45:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/upload-file-to-public-file-request-with-javascript/m-p/279548#M16785</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-06-08T17:45:19Z</dc:date>
    </item>
  </channel>
</rss>

