<?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: Success upload file but can't open file ! in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380711#M21262</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;dropboxConnect.filesUpload({&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;path:&amp;nbsp;globalData.dropboxClientsFolder&amp;nbsp;+&amp;nbsp;personId&amp;nbsp;+&amp;nbsp;'/'&amp;nbsp;+&amp;nbsp;dealId&amp;nbsp;+&amp;nbsp;'/'&amp;nbsp;+&amp;nbsp;file.name,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;contents:&amp;nbsp;req.files.file&lt;BR /&gt;})&lt;/PRE&gt;&lt;DIV class="tlid-input input"&gt;&lt;DIV class="source-wrap"&gt;&lt;DIV class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;&lt;DIV class="source-input"&gt;&lt;DIV class="source-footer-wrap source-or-target-footer"&gt;&lt;DIV class="character-count tlid-character-count"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="source-footer"&gt;&lt;DIV class="speech-wrap source-or-target-footer-button left-positioned"&gt;&lt;DIV class="speech-button goog-toolbar-button"&gt;&lt;SPAN&gt;I did the test with the sample code of your github.&lt;/SPAN&gt; &lt;SPAN&gt;And I have the same problem.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="speech-button goog-toolbar-button"&gt;&lt;SPAN&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/upload/index.html" target="_blank" rel="noopener"&gt;https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/upload/index.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2019 17:42:01 GMT</pubDate>
    <dc:creator>Alain1010</dc:creator>
    <dc:date>2019-11-25T17:42:01Z</dc:date>
    <item>
      <title>Success upload file but can't open file !</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380568#M21253</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I uploaded a file in my dropbox thanks to the API. But for each file uploaded, it is 15 bytes and I can't open it in dropbox.&lt;/P&gt;
&lt;P&gt;Can you tell me how to fix this issus please?&lt;/P&gt;
&lt;P&gt;I'm using a SDK Javascript.&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:59:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380568#M21253</guid>
      <dc:creator>Alain1010</dc:creator>
      <dc:date>2019-12-26T19:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Success upload file but can't open file !</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380666#M21259</link>
      <description>&lt;P&gt;If the files you're trying to upload aren't each 15 bytes, it sounds like there may be an issue with the upload implementation you're using. Can you share the code you're using so we can take a look?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:30:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380666#M21259</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-11-25T14:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Success upload file but can't open file !</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380711#M21262</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;dropboxConnect.filesUpload({&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;path:&amp;nbsp;globalData.dropboxClientsFolder&amp;nbsp;+&amp;nbsp;personId&amp;nbsp;+&amp;nbsp;'/'&amp;nbsp;+&amp;nbsp;dealId&amp;nbsp;+&amp;nbsp;'/'&amp;nbsp;+&amp;nbsp;file.name,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;contents:&amp;nbsp;req.files.file&lt;BR /&gt;})&lt;/PRE&gt;&lt;DIV class="tlid-input input"&gt;&lt;DIV class="source-wrap"&gt;&lt;DIV class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;&lt;DIV class="source-input"&gt;&lt;DIV class="source-footer-wrap source-or-target-footer"&gt;&lt;DIV class="character-count tlid-character-count"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="source-footer"&gt;&lt;DIV class="speech-wrap source-or-target-footer-button left-positioned"&gt;&lt;DIV class="speech-button goog-toolbar-button"&gt;&lt;SPAN&gt;I did the test with the sample code of your github.&lt;/SPAN&gt; &lt;SPAN&gt;And I have the same problem.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="speech-button goog-toolbar-button"&gt;&lt;SPAN&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/upload/index.html" target="_blank" rel="noopener"&gt;https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/upload/index.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 17:42:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380711#M21262</guid>
      <dc:creator>Alain1010</dc:creator>
      <dc:date>2019-11-25T17:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Success upload file but can't open file !</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380750#M21265</link>
      <description>&lt;P&gt;Thanks for following up. I just gave that sample a try myself, and it worked fine for me. I was able to upload multiple files of various sizes correctly.&lt;/P&gt;
&lt;P&gt;Can you let me know more about where/how you're running this? For the example, did you follow &lt;A href="https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript" target="_self"&gt;the instructions here&lt;/A&gt; for running it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And for your own code, what is&amp;nbsp;req.files.file exactly? Can you step in with a debugger to check the value? (You may also want check the actual 15 bytes of content that is uploaded to see what it is actually.)&lt;/P&gt;
&lt;P&gt;Can you also double check if the original local file you're uploading is itself accidentally only 15 bytes?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 20:29:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Success-upload-file-but-can-t-open-file/m-p/380750#M21265</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-11-25T20:29:00Z</dc:date>
    </item>
  </channel>
</rss>

