<?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 Use javascript to create and write file csv by api in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Use-javascript-to-create-and-write-file-csv-by-api/m-p/629917#M29121</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to use Javascript call API to create csv file (with data) on Dropbox.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have read the API &lt;A href="https://content.dropboxapi.com/2/files/upload" target="_blank" rel="noopener"&gt;https://content.dropboxapi.com/2/files/upload&lt;/A&gt;&lt;BR /&gt;As I understand it, is this API used to upload files from local?&amp;nbsp;But that's not the direction I want.&lt;/P&gt;
&lt;P&gt;Because I'm using a system called Adaptive,&amp;nbsp;that system uses pure Javascript,&amp;nbsp;I have successfully connected to Dropbox using access token.&lt;/P&gt;
&lt;P&gt;But, there is no Localpath for me to use: API 2/files/upload&lt;/P&gt;
&lt;P&gt;So, I want to ask is there any way to import or create or write... csv files to Dropbox using Javascript?&amp;nbsp;If there is an API please show me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am looking forward to hearing from you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 17:39:41 GMT</pubDate>
    <dc:creator>ThaiNguyen</dc:creator>
    <dc:date>2022-10-19T17:39:41Z</dc:date>
    <item>
      <title>Use javascript to create and write file csv by api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Use-javascript-to-create-and-write-file-csv-by-api/m-p/629917#M29121</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to use Javascript call API to create csv file (with data) on Dropbox.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have read the API &lt;A href="https://content.dropboxapi.com/2/files/upload" target="_blank" rel="noopener"&gt;https://content.dropboxapi.com/2/files/upload&lt;/A&gt;&lt;BR /&gt;As I understand it, is this API used to upload files from local?&amp;nbsp;But that's not the direction I want.&lt;/P&gt;
&lt;P&gt;Because I'm using a system called Adaptive,&amp;nbsp;that system uses pure Javascript,&amp;nbsp;I have successfully connected to Dropbox using access token.&lt;/P&gt;
&lt;P&gt;But, there is no Localpath for me to use: API 2/files/upload&lt;/P&gt;
&lt;P&gt;So, I want to ask is there any way to import or create or write... csv files to Dropbox using Javascript?&amp;nbsp;If there is an API please show me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am looking forward to hearing from you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 17:39:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Use-javascript-to-create-and-write-file-csv-by-api/m-p/629917#M29121</guid>
      <dc:creator>ThaiNguyen</dc:creator>
      <dc:date>2022-10-19T17:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use javascript to create and write file csv by api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Use-javascript-to-create-and-write-file-csv-by-api/m-p/630407#M29124</link>
      <description>&lt;P&gt;The /2/files/upload endpoint allows an app to upload a file to Dropbox by supplying the file data in the API call request body. The example in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_blank"&gt;the documentation&lt;/A&gt; shows how one might do so by using curl to upload the contents from a file on the local filesystem, but that is not a requirement. Exactly where/how you get the file data to upload is up to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For JavaScript, we recommend using &lt;A href="https://github.com/dropbox/dropbox-sdk-js" target="_blank"&gt;the official Dropbox API v2 JavaScript SDK&lt;/A&gt;. That SDK has a corresponding &lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUpload__anchor" target="_blank"&gt;filesUpload method&lt;/A&gt;. You can find &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/main/examples/javascript/upload/index.html#L54" target="_blank"&gt;an example of using it here&lt;/A&gt;. That example gets the file data to upload from a file input field in an HTML form, for instance, not directly from a local filesystem.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 15:10:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Use-javascript-to-create-and-write-file-csv-by-api/m-p/630407#M29124</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-10-19T15:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Use javascript to create and write file csv by api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Use-javascript-to-create-and-write-file-csv-by-api/m-p/630839#M29137</link>
      <description>&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;did it&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 09:22:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Use-javascript-to-create-and-write-file-csv-by-api/m-p/630839#M29137</guid>
      <dc:creator>ThaiNguyen</dc:creator>
      <dc:date>2022-10-21T09:22:00Z</dc:date>
    </item>
  </channel>
</rss>

