On 1/13/07, Yves-Eric <[EMAIL PROTECTED]> wrote:


Sean Davis wrote:
[...]
> However, I would really like to store the files on the filesystem with
the original
> filename.

Could you elaborate on this? Knowing more about _why_ you expressed
this requirement would help giving you better suggestions. Like for
example, it has already been suggested *not* keeping the filename since
it is not necessary if you only serve the files using the CMS. But of
course, that does not work if you were planning to also access the
files directly through the filesystem...



You hit the nail on the head.  I work in a research environment with no
dedicated IT support.  We will be building a fairly complex database for
storing and querying experimental results.  Many of these results come in
the form of files of various types.  The individual investigators often name
the files in a way that makes sense to them (but not to a computer).  So,
maintaining the filename is important.  Since for a single experiment there
may be as many as 500 or so files, it makes some sense to think about
serving those using standard tools like webDAV, for example.  Since we do
not have IT support, we are going to be phasing in any solution that we come
up with in pieces and I want to leave as many options open for data
manipulation as possible.

I like the simple idea of prefixing the file with a simple unique id that
was presented earlier.  It maintains the filename and can be a simple
versioning system, particularly when combined with a hash of the file, to
allow quick searches for identical files.  Finally, I will probably make
some individual directories, perhaps based on the person doing the uploading
or the date of the upload.

Thanks all for the suggestions.  I think I have a pretty good idea of where
to go next.

Sean

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to