{"id":39307276,"url":"https://github.com/chris-burgin/dropbox-session-upload","last_synced_at":"2026-01-18T01:37:18.581Z","repository":{"id":98956834,"uuid":"104143372","full_name":"chris-burgin/dropbox-session-upload","owner":"chris-burgin","description":"Node wrapper around the dropbox upload session API to help concurrently upload files over 150mb to dropbox.","archived":false,"fork":false,"pushed_at":"2018-01-19T15:43:07.000Z","size":124,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-10T04:42:53.261Z","etag":null,"topics":["api","concurrent","dropbox","dropbox-api","dropbox-sdk","large-files","node","npm","session-upload","upload","upload-session"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chris-burgin.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-20T00:12:27.000Z","updated_at":"2024-03-22T13:32:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e0d5fe5-55c5-413a-a66d-ce9ccee01fe2","html_url":"https://github.com/chris-burgin/dropbox-session-upload","commit_stats":null,"previous_names":["chrisburgin95/dropbox-session-upload"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/chris-burgin/dropbox-session-upload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-burgin%2Fdropbox-session-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-burgin%2Fdropbox-session-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-burgin%2Fdropbox-session-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-burgin%2Fdropbox-session-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chris-burgin","download_url":"https://codeload.github.com/chris-burgin/dropbox-session-upload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-burgin%2Fdropbox-session-upload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"ssl_error","status_checked_at":"2026-01-18T00:39:39.467Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","concurrent","dropbox","dropbox-api","dropbox-sdk","large-files","node","npm","session-upload","upload","upload-session"],"created_at":"2026-01-18T01:37:18.495Z","updated_at":"2026-01-18T01:37:18.565Z","avatar_url":"https://github.com/chris-burgin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dropbox Session Upload\n## About\nDropbox Session Upload provides a wrapper around the [Dropbox Node Package](https://github.com/dropbox/dropbox-sdk-js). Session Uploading via the Dropbox\nAPI is used for files that are large than 150mb. This section of the API can\nbe complicated and this package hopes to provide a clean wrapper around this\ncomplicated API. This wrapper also supports concurrent file uploading out\nof the box.\n## Requirements\n- Node `8.3.0` or greater\n\n## Installation\n`npm install dropbox_session_upload`\n\n## Usage\n### Upload Files Basic\n_This Example can be found in `/examples/simple.js`_\n```javascript\n// import modules\nconst fs = require(\"fs\")\nconst {upload} = require(\"dropbox_session_upload\")\n\n// setup files to upload\nconst files = [\n  {\n    file: fs.createReadStream(\"./datafile.txt\"),\n    saveLocation: \"/datafile1.txt\"\n  },\n  {\n    file: fs.createReadStream(\"./datafile.txt\"),\n    saveLocation: \"/datafile2.txt\"\n  },\n  {\n    file: fs.createReadStream(\"./datafile.txt\"),\n    saveLocation: \"/datafile3.txt\"\n  }\n]\n\n// upload the files\nupload(files, process.env.DROPBOXTOKEN, true /* debug mode, defaults to false */)\n  .catch(error =\u003e console.log(error))\n  .then(() =\u003e console.log(\"Done Uploading!\"))\n```\n\n### Upload with Progress Tracking\n_This Example can be found in `/examples/progressTracking.js`_\n\nAdding progress tracking is simple, but due to the dropbox api progress will \nonly be updated every 8mb. This is the size of chunks this packages uploads \nat once. So you will find that progress jumps in 8mb chunks. While annoying \nit can still be helpful to know where your file is at in the upload process.\n\n```javascript\n// import modules\nconst fs = require(\"fs\")\nconst { upload, progress } = require(\"dropbox_session_upload\")\n\n// setup files to upload\nconst files = [\n  {\n    file: fs.createReadStream(\"./datafile.txt\"),\n    saveLocation: \"/datafile1.txt\",\n    id: \"1\" // required for progress\n  },\n  {\n    file: fs.createReadStream(\"./datafile.txt\"),\n    saveLocation: \"/datafile1.txt\",\n    id: \"2\" // required for progress\n  },\n  {\n    file: fs.createReadStream(\"./datafile.txt\"),\n    saveLocation: \"/datafile1.txt\",\n    id: \"3\" // required for progress\n  }\n]\n\n// upload the files\nupload(files, process.env.DROPBOXTOKEN)\n  .catch(error =\u003e console.log(error))\n  .then(() =\u003e console.log(\"Files Done!\"))\n\n// listen for updates to the progress\n// this will return `id` and `percentage`\nprogress(data =\u003e console.log(data))\n```\n\n### Things to note when uploading\n- This library will automatically strip out the following characters from `saveLocation` `* | \u0026 ! @ # $ % ^ * ( ) [ ] { } | - _ = + \u003c \u003e ' \" \u003c \u003e` to comply with dropbox file name requirements.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-burgin%2Fdropbox-session-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris-burgin%2Fdropbox-session-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-burgin%2Fdropbox-session-upload/lists"}