#1429 closed enhancement

automatically upload a file when it is put in a given local directory — at Version 2

Reported by: davidsarah Owned by: davidsarah
Priority: major Milestone: 1.9.0
Component: code-frontend Version: 1.8.2
Keywords: drop-upload inotify usability review-needed news Cc:
Launchpad Bug:

Description (last modified by davidsarah)

During the Tahoe-LAFS summit, I (David-Sarah) implemented a prototype of a dropbox-like uploader: if you write a file into a given directory, it will upload it to a given Tahoe mutable directory (with the same name as its name in the local filesystem).

Its current limitations are:

  • it only handles one directory, not including subdirectories
  • the behaviour when multiple files are put in the directory (or the same file more than once) has not been well-tested so far
  • it doesn't have unit tests or docs (I will write those)
  • it must be given the URI of a mutable directory to upload to; it would be more usable to allow that to be a path that may start with an alias
  • it uses the twisted.internet.inotify API, which depends on Twisted 10.1 and is only supported on platforms with inotify.

Change History (3)

comment:1 Changed at 2011-07-16T16:28:10Z by davidsarah

  • Description modified (diff)
  • Status changed from new to assigned

comment:2 Changed at 2011-07-16T16:30:22Z by davidsarah

  • Description modified (diff)
  • Keywords inotify usability added

Changed at 2011-07-16T16:44:07Z by davidsarah

Prototype implementation of drop-upload from Tahoe-LAFS summit. No tests or docs. (Corrected to include new file.)

Note: See TracTickets for help on using tickets.