[Zope] one time downloads

Ed Colmar ed@greengraphics.net
Wed, 18 Jun 2003 10:51:38 -0700 (PDT)

Hey fellow zope fiends.

I've got a little project I'm working on that involves setting up multiple
one-time downloads.

I'm curious if anyone out there has done something similar that would like
to share ideas and or code.

My concept was to have all the files in a secure directory somewhere.
Make a temporary directory somewhere with a random id
"oahnw3487cfyawcry7baw385vbyawy348vyaw" or whatever...  Set the directory
name and a flag into a db somewhere.  Then after the download is complete
(or after a certain amount of time, delete the dir and the files.

Anyone have something like this already?



Green Graphics   :::   Print and Web Design   :::   510.923.0000