GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dudzcom/PneumaticTube: Command line Dropbox uploader for Windows

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

69 Commits
69 Commits

Folders and files

NameName
Last commit message
Last commit date
.nuget
.nuget
 
 
Properties
Properties
 
 
pneumatictube-package
pneumatictube-package
 
 
.gitignore
.gitignore
 
 
App.config
App.config
 
 
BytesProgressDisplay.cs
BytesProgressDisplay.cs
 
 
DropboxClientExtensions.cs
DropboxClientExtensions.cs
 
 
DropboxClientFactory.cs
DropboxClientFactory.cs
 
 
DropboxExceptionExtensions.cs
DropboxExceptionExtensions.cs
 
 
ExitCode.cs
ExitCode.cs
 
 
NoProgressDisplay.cs
NoProgressDisplay.cs
 
 
PercentProgressDisplay.cs
PercentProgressDisplay.cs
 
 
PneumaticTube.csproj
PneumaticTube.csproj
 
 
PneumaticTube.sln
PneumaticTube.sln
 
 
Program.cs
Program.cs
 
 
UploadOptions.cs
UploadOptions.cs
 
 
cmdline.ico
cmdline.ico
 
 
license.txt
license.txt
 
 
packages.config
packages.config
 
 
readme.md
readme.md
 
 

Repository files navigation

PneumaticTube

Command line Dropbox uploader for Windows

Prague Pneumatic Post

Usage

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.

Options

  • -f (required) The location of the file to upload
  • -p The destination path in Dropbox (if left blank, will default to your Dropbox root)
  • -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

Authorization

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.

Installation

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.

Notes

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

About

Command line Dropbox uploader for Windows

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.