This is slightly off-topic, but I'll ask anyway, in case someone has already
done this.
I want to make a simple file storage system of file uploads. However, I
would really like to store the files on the filesystem with the original
filename. There is the possibility of two files having the same filename.
Have other people thought about a system that makes sense to keep the next
from overwriting the first? My thought is to create a set of directories on
the file system, but how can I organize such a set of directories that makes
sense? The files info will be stored in a database, so I can check for the
existence of the files before writing a new one.
Thanks,
Sean