When composing/sending messages, I would like to automatically upload large attachments to my owncloud server, similar to what the Thunderbird AddOn https://addons.mozilla.org/de/thunderbird/addon/owncloud-for-filelink/ does.

I'm aware that probably this functionality doesn't exist yet, but is anybody aware of any building blocks I could use in implementing such a package?

In elisp:

  • defines URL + destination domain settings
  • run the <select file> emacs process
  • exec the file upload using cadaver/lftp/netrc/...
  • grab/build the destination file-link (may need to use the ownCloud Share API)
  • paste URL at emacs under cursor

Or alternatively start with a simple alias which, for a given file (or directory) uploads it and returns the public destination URL (cf ownCloud share API to grab a unique link). Then just call this wrapper from elisp.

  • That does not seem to satisfy the "automatically" criteria of the question. – Stefan Feb 19 '16 at 17:24

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.