Hi!

Is there a way to configure per user directories for uploaded audio files, like what we have on uploadpath and video modules? Or is there any solution preventing filename collisions regarding files uploaded by different users?

Thanks in advance,
Carlos.

Comments

drewish’s picture

Status: Active » Closed (works as designed)

there's not, the files will be renamed if one already exists. i think there's an existing feature request for having a configurable storage directories.

zottmann’s picture

Hi!

Indeed, there is an active feature request for this: http://drupal.org/node/139837

I think that the approach that is beeing used by uploadpath, video and imagefield module is a good one. The configuration of the upload directory can be made with the help of the token module, so it can be set to [user-name], [nid], [site-date], and a lot of other tokens.

This feature is very important for building community driven sites. Is it in your roadmap? I'm not a php programmer, so I can't help with patching.

By the way, I've done a brazilian portuguese translation of the audio module. How should I submit it to you?

Regards,
Carlos.

drewish’s picture

i'm afraid that if that if configurable directories are added it would be in the 6.x version. i've got very little audio development time at this point and i'm trying to get the 5.x-2.x branch wrapped up and the 6.x upgrade started.

the best way to submit translations is to create a new issue and post the files. i can commit them to CVS for you. just make sure to indicate which version they're for.