This is a great idea for a module, something it seems to me should be built in to Drupal. There are so many problems associated with storing all files in a single directory, ideally this module would solve all of them.

I've run in to a problem trying to use it - that I hope get worked out at some point. It isn't compatible with upload_image module (http://drupal.org/project/upload_image) It does not apply the settings when attaching files via this method.

Comments

nancydru’s picture

+1 since I may be using this for images.

bobdalob’s picture

Very pleased to see this module but..

It doesn't work for my image uploads either although I don't use the image upload module - I use the imagefield CCK, imagecache & upload preview.

I imagine images are the most uploaded filetype (site dependant of course) so all the more important to get this working with all the key image modules.

Crell’s picture

As of Drupal 5 every file-using module does its own thing. This module works specifically and only with the core upload module. Support for any other file-using module would need to be added on a case-by-case basis, at which point you're better off implementing it directly into each contrib. The only reason this lives separately is because upload.module doesn't accept patches during a release.

I believe at least some of the image-handling modules already have experimental token module support. Really, I'd focus efforts on those directly. I haven't looked into the Drupal 6 file system yet to see what impact that will have.

Christefano-oldaccount’s picture

Title: great idea » upload path works with the core upload module only

changing title.

Crell’s picture

Status: Active » Closed (works as designed)

This is really all its expected to do right now. Patches to work with other file-using modules welcome, but should be filed as separate issues. Thanks.