Dropbox Content Uploads large files to Dropbox in multiple chunks.

Dropbox - Uploads large files to Dropbox in multiple chunks.

Uploads large files to Dropbox in multiple chunks. Also has the ability to resume if the upload is interrupted. This allows for uploads larger than the `/files_put` maximum of 150 MB. Typical usage: 1. Send a PUT request to `/chunked_upload` with the first chunk of the file without setting `upload_id`, and receive an `upload_id` in return. 2. Repeatedly `PUT` subsequent chunks using the `upload_id` to identify the upload in progress and an `offset` representing the number of bytes transferred so far. 3. After each chunk has been uploaded, the server returns a new offset representing the total amount transferred. 4. After the last chunk, `POST` to `/commit_chunked_upload` to complete the upload. Chunks can be any size up to 150 MB. A typical chunk is 4 MB. Using large chunks will mean fewer calls to `/chunked_upload` and faster overall throughput. However, whenever a transfer is interrupted, you will have to resume at the beginning of the last chunk, so it is often safer to use smaller chunks. If the offset you submit does not match the expected offset on the server, the server will ignore the request and respond with a 400 error that includes the current offset. To resume upload, seek to the correct offset (in bytes) within the file and then resume uploading from that point. A chunked upload can take a maximum of 48 hours before expiring.

Posted on:

2018-08-27

API Description

Provider

Dropbox

decription

Dropbox is a modern workspace designed to reduce busywork-so you can focus on the things that matter. Sign in and put your creative energy to work.

Curl command through Streamdata.io

curl -v "https://streamdata.motwin.net/http://api-content.dropbox.com/1/chunked_upload?X-Sd-Token={streamdata_token}&offset={field_value}&upload_id={field_value}"



Return to Main Page



Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.