Skip to content
Command line Dropbox uploader for Windows
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget Initial commit Jul 11, 2014
Properties Update copyright and version May 31, 2017
App.config Add default proxy setting to config; fixes issue #12 Nov 14, 2015
NoProgressDisplay.cs Code cleanup Nov 14, 2015
PercentProgressDisplay.cs Switch to string interpolation Nov 14, 2015
PneumaticTube.csproj VS didn't save files May 29, 2017
PneumaticTube.sln Updating to newer DropNetRT (with chunked uploading), updating readme Apr 12, 2015
Program.cs Display version in help screen May 31, 2017
UploadOptions.cs Display version in help screen May 31, 2017
cmdline.ico Fix icon in setup Jul 12, 2014
license.txt Create license.txt Jul 11, 2014
packages.config Update readme May 31, 2017


Command line Dropbox uploader for Windows

Prague Pneumatic Post


pneumatictube -f <file> -p <path>

Uploads the specified file to the specified path in Dropbox. The -f option can also point to a folder, in which case each file in the folder will be uploaded to Dropbox. Currently only the files in specified folder are uploaded - child folders are ignored.

For example:

pneumatictube -f .\report.txt -p /docs

would upload report.txt to the docs folder in the Dropbox account.


  • -f (required) The location of the file to upload
  • -p (required) The destination path in Dropbox
  • -r Force re-authorization with Dropbox
  • -c Force chunked uploading
  • -b Display progress in bytes instead of percentage when using chunked uploading
  • -q Suppress all output (except errors)
  • -n Suppress progress reporting during chunked uploading


The first time you run PneumaticTube it will open a browser and ask you to authorize it for your Dropbox account.

If you ever want to deauthorize it (for example, to authorize it for a different account), you can run it with the -r (reset) option.

Chunked Uploading

Dropbox requires chunked uploading (uploading the file in many small parts, instead of one big blob) for files above 150 MB. Pneumatictube will automatically use chunked uploading for files which require it. For smaller files, you can specify the -c option to force chunked uploading. This is useful if you want a progress indicator during the upload.

If you specify the -c option, you can also use the -b option to specify that you want your progress updates in bytes instead of percentage (the default), or -n to suppress progress reporting.


If you're not into building the project from source, you can download the latest release as a .zip. Or, if you're a chocolatey user, it's also available as a package. Just run choco install pneumatictube.portable and you should be good to go.


This is built on the .NET SDK for the Dropbox API v2 and on Command Line Parser. I basically just needed an easy way for a TeamCity server to push artifacts out to a Dropbox folder, and I didn't like all the awkward "run Dropbox as a service" hacks out there.

Image Credit: By Serych at cs.wikipedia [Public domain], from Wikimedia Commons

You can’t perform that action at this time.