<?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: Dropbox API to create a file, write in it via stream and then close the file. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217664#M11371</link>
    <description>&lt;P&gt;No, you don't need to also call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;/upload&lt;/A&gt; if you're using &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start" target="_self"&gt;upload sessions&lt;/A&gt;. You specify the path where you want to upload the file when you call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish" target="_self"&gt;/2/files/upload_session/finish&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to upload 1 MB at a time, you would just supply 1 MB of data to each request to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start" target="_self"&gt;/2/files/upload_session/start&lt;/A&gt;, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2" target="_self"&gt;/2/files/upload_session/append_v2&lt;/A&gt;, and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish" target="_self"&gt;/2/files/upload_session/finish&lt;/A&gt;. That is, you would have your app only submit 1 MB of data (in the request body) per call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2" target="_self"&gt;/2/files/upload_session/append_v2&lt;/A&gt;&amp;nbsp;or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish" target="_self"&gt;/2/files/upload_session/finish&lt;/A&gt;, the 'offset' is the total amount of data that has been uploaded so far for that upload session, in bytes. This is something the app&amp;nbsp;should keep track of client-side, as the app decides how much to upload each time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's &lt;A href="https://stackoverflow.com/documentation/dropbox-api/409/uploading-a-file/1927/uploading-a-file-using-the-dropbox-python-sdk#t=201704241846013650584" target="_self"&gt;a basic example of using upload sessions that may be helpful here&lt;/A&gt;. It's for the Python SDK, but the logic is the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2017 18:48:54 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-04-24T18:48:54Z</dc:date>
    <item>
      <title>Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/216846#M11277</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am from Softaculous Ltd. I already have an open issue but here I'm opening a new one which is regarding a different issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a query regarding Dropbox. We want our users to upload their backups (which will be .tar.gz file) on Dropbox. Now what we want is that we can create an empty file on Dropbox, add the content to it via stream (as in we can do via FTP using ftp:// stream) and then close the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not able to find the related APIs. Can you please tell me about it?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:23:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/216846#M11277</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2019-05-29T09:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/216916#M11286</link>
      <description>&lt;P&gt;To upload a file using the API, you can use the /2/files/upload endpoint:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-upload&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That is a "Content-upload" style endpoint, so it expects the file contents in the request&amp;nbsp;body, as documented in the "Request and response formats" section:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#formats" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#formats&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's an example of uploading from PHP using curl here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/documentation/dropbox-api/409/uploading-a-file/1354/uploading-a-file-via-curl-in-php#t=20170419174709470892" target="_blank"&gt;https://stackoverflow.com/documentation/dropbox-api/409/uploading-a-file/1354/uploading-a-file-via-curl-in-php#t=20170419174709470892&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Exactly how you access the data on your local client is up to you. The API just requires that you pass up all of the file data in the request body.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 17:48:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/216916#M11286</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-19T17:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/216967#M11299</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you for your response.&lt;BR /&gt;&lt;BR /&gt;But this would require uploading the file in one go whereas I want to upload a file in chunks, say, the file size is 500 MB but I want to upload it 100 MB at a time and next continue writing the next 100 MB from the place it left and so on. At the end we want to close the file</description>
      <pubDate>Wed, 19 Apr 2017 21:47:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/216967#M11299</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-19T21:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/216969#M11300</link>
      <description>For large files, or any files you want to upload in pieces, you should use upload sessions:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish&lt;/A&gt;</description>
      <pubDate>Wed, 19 Apr 2017 21:58:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/216969#M11300</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-19T21:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217210#M11329</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll implement these and get back to you if I face any issues.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 06:02:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217210#M11329</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-21T06:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217384#M11355</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some doubt about 'files_upload_session_start' API. Do I require to first call the 'upload' API and then start the 'upload_session_start' API as I can't see where to mention the dropbox path where I want to upload the file to in&amp;nbsp;&lt;SPAN&gt;'upload_session_start' API. Can you please tell me how to implement this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also if I want to upload 1MB at a time instead of 150 MB, how can I mention that?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 11:55:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217384#M11355</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-22T11:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217385#M11356</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While using 'appen_v2' API, there is a parameter 'offset' which is the amount of data that has been uploaded so far. From where do we get the amount of data uploaded so far? Do we have to calculate on our own? As I can't see any amount of data uploaded returned by the 'file_upload_session_start' parameter.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 12:18:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217385#M11356</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-22T12:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217544#M11362</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I get a faster response on this?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 05:47:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217544#M11362</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-24T05:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217664#M11371</link>
      <description>&lt;P&gt;No, you don't need to also call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;/upload&lt;/A&gt; if you're using &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start" target="_self"&gt;upload sessions&lt;/A&gt;. You specify the path where you want to upload the file when you call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish" target="_self"&gt;/2/files/upload_session/finish&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to upload 1 MB at a time, you would just supply 1 MB of data to each request to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start" target="_self"&gt;/2/files/upload_session/start&lt;/A&gt;, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2" target="_self"&gt;/2/files/upload_session/append_v2&lt;/A&gt;, and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish" target="_self"&gt;/2/files/upload_session/finish&lt;/A&gt;. That is, you would have your app only submit 1 MB of data (in the request body) per call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2" target="_self"&gt;/2/files/upload_session/append_v2&lt;/A&gt;&amp;nbsp;or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish" target="_self"&gt;/2/files/upload_session/finish&lt;/A&gt;, the 'offset' is the total amount of data that has been uploaded so far for that upload session, in bytes. This is something the app&amp;nbsp;should keep track of client-side, as the app decides how much to upload each time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's &lt;A href="https://stackoverflow.com/documentation/dropbox-api/409/uploading-a-file/1927/uploading-a-file-using-the-dropbox-python-sdk#t=201704241846013650584" target="_self"&gt;a basic example of using upload sessions that may be helpful here&lt;/A&gt;. It's for the Python SDK, but the logic is the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 18:48:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217664#M11371</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-24T18:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217772#M11387</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;I have been trying the same thing but while upload_finish, I was getting the following error:&lt;BR /&gt;{"error_summary": "lookup_failed/not_found/..", "error": {".tag": "lookup_failed", "lookup_failed": {".tag": "not_found"}}}&lt;BR /&gt; On further research I found out that the error occur due to incorrect session id. I corrected the same and the error was eliminated.&lt;BR /&gt; &lt;BR /&gt;I now have another doubt. I have created three different functions for session start, session append and session finish. From inside session start, if the session id is not empty, session append function is called. Now when initially I'm calling the session start function with 1MB of data to upload, the upload session start executes. Now the session id is filled. So now again the session start function is called (automatically) and session append is done from inside it (as coded by me as session id is now filled.). Now once the session append is done, the same process repeats again and again till 7MB (since the file size I'm trying to upload is 7.48MB). But after 7MB, automatically the session finish funstion is called and the session ends with incomplete file upload.&lt;BR /&gt; &lt;BR /&gt;I have two doubts here:&lt;BR /&gt;1. How the looping is going automatically when I'm not putting the code in any loop? Is this the intended behavior?&lt;BR /&gt;2. How shall it be handled when there is an extra .48MB of data remaining to upload?&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:28:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217772#M11387</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-25T13:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217785#M11388</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Also I'm trying to upload a .tar.gz file but the file is uploaded incompletely and corrupted using upload session functionality. Can you tell me the reason?</description>
      <pubDate>Tue, 25 Apr 2017 15:06:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217785#M11388</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-25T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217837#M11395</link>
      <description>&lt;P&gt;1. I'm not sure I follow. Exactly what functions are called and when is controlled by your app. You may want to step through with a debugger to see what it is doing and how to correct it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You don't have to upload the same amount of data with each call. For example, when you only have less than 1 MB left to upload, you can call finish and upload that less than 1 MB amount of data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using upload sessions, you should only call start once per file. Then you can call append as many times as necessary. You should then call finish once. You don't have to send the same amount of data in each call (e.g., the last call will usually contain less than the others) but you do need to upload the file data in order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're not getting valid files, you should debug your implementation to make sure you're sending up all of the correct data, and in order. (From your earlier post, it sounds like you're missing the last piece.)&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 18:13:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/217837#M11395</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-25T18:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/218512#M11478</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your response. I was able to find the reason for the behavior I had been thinking as unexpected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But while debugging I'm facing issue with curl call. Many timess the curl call fails with the error "Curl Error Start: Empty reply from server (Server returned nothing no headers no data)". Sometimes upload session start returns this error and sometimes append. I'm not able to understand why this is happening.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please tell me why?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 11:20:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/218512#M11478</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-29T11:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/218529#M11479</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And sometimes it return this:&lt;/P&gt;
&lt;PRE&gt;Failed sending data to the peer&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Apr 2017 13:32:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/218529#M11479</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-04-29T13:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/218795#M11503</link>
      <description>Both of these errors are unexpected. Can you share the steps/code to reproduce them?&lt;BR /&gt;&lt;BR /&gt;They may be network issues though, which likely won't reproduce for me though. If that's the case, you'll want to check on any issues with your network connection, and add automatic retrying to your app.</description>
      <pubDate>Mon, 01 May 2017 19:00:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/218795#M11503</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-05-01T19:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/232955#M12710</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to do everything now. Upload the file in sessions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have another problem now. That it is taking too much time. Uploading data in chunks, we require to make curl call in every chunk and our file sizes can be in GBs. Therefore, its taking toooo much of time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there some solution to this?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 11:55:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/232955#M12710</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-07-19T11:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/233026#M12718</link>
      <description>Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds.&lt;BR /&gt;&lt;BR /&gt;Sometimes resetting or retrying your connection gets you a different route and better speeds, but that is outside of our control. Some ISPs also throttle sustained connections so if you see an initial high connection speed followed by lower speeds, that could be the reason.&lt;BR /&gt;&lt;BR /&gt;The chunk size you use will also affect your overall transfer rate though. Smaller chunk sizes will be more robust and less prone to fail, but will be slower overall. Larger chunk sizes will generally be faster overall, as there will be fewer calls and therefore less overhead, but you'd need to re-upload more if any one call fails.&lt;BR /&gt;&lt;BR /&gt;I recommend trying an 8 MB chunk size. The optimal chunk size will depend on various factors though, so you may want to try a few different sizes. Note that you may see some improvement by only using chunk sizes of an example multiple of 4 MB. (This is just due to specifics of how the backend in implemented. There are other factors though, so that improvement may or may not be noticeable.)</description>
      <pubDate>Wed, 19 Jul 2017 16:41:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/233026#M12718</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-07-19T16:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/233138#M12721</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply. I am able to speed up the process by taking 4MB chunksize.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your support.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:14:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/233138#M12721</guid>
      <dc:creator>Priya M.</dc:creator>
      <dc:date>2017-07-20T11:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/233451#M12745</link>
      <description>&lt;P&gt;where can i get sample for write via stream&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2017 17:47:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/233451#M12745</guid>
      <dc:creator>kmeri</dc:creator>
      <dc:date>2017-07-22T17:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API to create a file, write in it via stream and then close the file.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/233575#M12748</link>
      <description>Hi Priya, can you share the code with me. I have to do the same and we can share the work together. Can i know more from you? Please, my e-mail is fbrandao7 from gmail. Thanks</description>
      <pubDate>Sun, 23 Jul 2017 22:55:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-to-create-a-file-write-in-it-via-stream-and-then/m-p/233575#M12748</guid>
      <dc:creator>FernandoBrandao</dc:creator>
      <dc:date>2017-07-23T22:55:12Z</dc:date>
    </item>
  </channel>
</rss>

