[pmwiki-users] YouSendIt Replacement?

Ben Wilson dausha at gmail.com
Thu May 3 14:05:01 CDT 2007


On 5/2/07, Stirling Westrup <sti at pooq.com> wrote:
> For those unfamiliar with YouSendIt, it allows one to upload files and specify
> who can download them (by email address). Those people receive an email
> containing an autogenerated cryptographic URL like:
>
> www.yousendit.com/files/AKD8LK38LAS8L38F8LS8NL9

This is quite doable in PmWiki, although the specific functionality
would require a recipe that itself harnesses several other recipes and
PmWiki features.

The recipe would have an action (e.g. 'sendit') that tells a recipe to
accept an uploaded file (using PmWiki's upload feature) and create an
MD5 hash of that file as a pagename with read/download permissions
with the username as the email address. The authentication needs a
little thinking. Anyway, PmWiki can restrict downloads of a file,
which, IIRC, extends to limiting which page the document can be
downloaded from. How to limit downloads is on the PmWiki web site, and
I apologize for not giving you the specific URL; but it explains how
to limit to per-page.

The use of the form merely eases your administration: it accepts
uploads, MD5 generates a name based on the document, and creates a
unique page with permissions based on the data given in the form.
Perhaps you type in the email addresses, and it spits back an
automatically generated password for each or all email addresses for
access (depending on whether you want passwords per-person or
per-document). Pm is much more familiar with the Auth system than I.

Tracking downloads is also available as a recipe, as I recall; try
Cookbook/DownloadManager.

I think this is doable as a stand-alone application, rather than
adding it to a framework.

Ben

> The person who goes to that URL is then (optionally) prompted for a password.
> After supplying the password they can download the file, and the site takes
> note of the fact its been downloaded.
>
> There is also an overview screen for the account holder that shows what files
> are in storage for download, when they were uploaded, how big they are, and if
> they've been downloaded yet.
>
> All of this sounds doable with PmWiki, but I don't know of any recipes that
> provide these features, or even come close. I'm willing to write such a thing
> from scratch, but if someone knows of some recipes that provide some (or all!)
> of these features, to give me a starting point, I'd love to hear about it.
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>


-- 
Ben Wilson
"Words are the only thing which will last forever" Churchill



More information about the pmwiki-users mailing list