<?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: How to upload file to dropbox using dropbox api in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628102#M29043</link>
    <description>&lt;P&gt;Dropbox can support many different formarts and actually doesn't "support" anything. Tha data are transfered and store as just a bunch of bytes &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; (i.e. whatever you are uploading, the same you will get). Most probably you have uploaded something different or not exactly the intended. Check it - try inspect what exactly you are uploading (on HTTP level) and see where is your error (befor or after that).&lt;/P&gt;</description>
    <pubDate>Sun, 09 Oct 2022 07:33:21 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2022-10-09T07:33:21Z</dc:date>
    <item>
      <title>How to upload file to dropbox using dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628001#M29038</link>
      <description>&lt;P&gt;Hi all , i am integrating netsuite with dropbox to upload file from netsuite to dropbox . I have already done authentication and i am generating access token also .&lt;BR /&gt;&lt;BR /&gt;Now i am not getting proper api to upload file into dropbox . Iam just uaing post method to call drop box api. Iam not importing any dropbox library's.&lt;BR /&gt;&lt;BR /&gt;Can you please help me which api should i use and what all the parameters i hve to pass.&lt;BR /&gt;I have already checked filerequest/create but in this i dont know where i should add file content (img/pdf etc) .because no pareters are there for content i think .&lt;BR /&gt;Can you plese help me in this to achieve my task .&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 07:43:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628001#M29038</guid>
      <dc:creator>sanathdevadiga</dc:creator>
      <dc:date>2022-10-11T07:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload file to dropbox using dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628037#M29039</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1580804"&gt;@sanathdevadiga&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;... I have already done authentication and i am generating access token also .&lt;BR /&gt;...&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1580804"&gt;@sanathdevadiga&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;It's great you have realized the authentication already. Just a warning here. You've mentioned access token only, but nothing about refresh token! Take in mind that access token expire after some time (typical 4 hours). For long term access, you need refresh token and realizing refresh process. You can get some ideas &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592667" target="_blank" rel="noopener"&gt;here&lt;/A&gt; (if you haven't implemented it yet).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1580804"&gt;@sanathdevadiga&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;...&lt;BR /&gt;I have already checked filerequest/create but in this i dont know where i should add file content (img/pdf etc) .because no pareters are there for content i think .&lt;BR /&gt;...&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://help.dropbox.com/share/received-file-request" target="_blank" rel="noopener"&gt;File request&lt;/A&gt; is a way to give opportunity for somebody else to upload content, not to upload it by self! &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1580804"&gt;@sanathdevadiga&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;...&lt;BR /&gt;Can you please help me which api should i use and what all the parameters i hve to pass.&lt;BR /&gt;...&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It's easy. The name can leads you: &lt;A title="Create a new file with the contents provided in the request" href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_blank" rel="noopener"&gt;2/files/upload&lt;/A&gt;. Just&amp;nbsp; mentioned call is suitable in many cases for no very huge files (no more than 150MB in size). If you have huge file or if you have big number of files (either small or big sized, or mixture), it may be mandatory (or better in some cases) usage of upload session and/or upload in batch. Review all calls listed after the simple upload call and select what best matches your needs. Of course, you can always start with just simple uploads and optimize your code after that. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 13:56:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628037#M29039</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-10-08T13:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload file to dropbox using dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628069#M29040</link>
      <description>Hi , iam generatimg access token using refresh token only . Now file is getting uploading but when i open in dropbox it is showing currepted file its not opening. Can you help me in this . Can we add url link of file as argument ?.&lt;BR /&gt;&lt;BR /&gt;And one more thing how can i add destination for uploaded file in dropbox . In /upload api there is no destination parameter .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for your response.</description>
      <pubDate>Sat, 08 Oct 2022 20:08:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628069#M29040</guid>
      <dc:creator>sanathdevadiga</dc:creator>
      <dc:date>2022-10-08T20:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload file to dropbox using dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628074#M29041</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1580804"&gt;@sanathdevadiga&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi , iam generatimg access token using refresh token only . Now file is getting uploading but when i open in dropbox it is showing currepted file its not opening. Can you help me in this . ...&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Following your question at all, seems you are trying guess what you need to pass instead of read the documentation. In the documentation you can read type and formatting of all possible parameters, including mandatory parameter 'path' that describe 'place' where uploaded file will reside. Just read it. Can be useful to take a look on &lt;A title="Dropbox API Explorer • upload" href="https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload" target="_blank" rel="noopener"&gt;API Explorer&lt;/A&gt; for easier call prototyping. Finally the file content is passed as call body, not as a link or something like. If you want to pass file as a link take a look &lt;A title="Save the data from a specified URL into a file in user's Dropbox" href="https://www.dropbox.com/developers/documentation/http/documentation#files-save_url" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 20:23:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628074#M29041</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-10-08T20:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload file to dropbox using dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628099#M29042</link>
      <description>Thank you for you valuable inputs .&lt;BR /&gt;Now File is getting uploaded but its content is currupted , i tried base 64 encode , and utf-8 encode .My file is in UTF -8 encoded.&lt;BR /&gt;&lt;BR /&gt;May i know Which file format i have to send data to dropbox .&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Oct 2022 05:41:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628099#M29042</guid>
      <dc:creator>sanathdevadiga</dc:creator>
      <dc:date>2022-10-09T05:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload file to dropbox using dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628102#M29043</link>
      <description>&lt;P&gt;Dropbox can support many different formarts and actually doesn't "support" anything. Tha data are transfered and store as just a bunch of bytes &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; (i.e. whatever you are uploading, the same you will get). Most probably you have uploaded something different or not exactly the intended. Check it - try inspect what exactly you are uploading (on HTTP level) and see where is your error (befor or after that).&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 07:33:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-upload-file-to-dropbox-using-dropbox-api/m-p/628102#M29043</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-10-09T07:33:21Z</dc:date>
    </item>
  </channel>
</rss>

