Hi all!

I'm working on my first Drupal project and so far I like every bit of it, having a little experience with Joomla, Wordpress and Ektron.

However I'm facing a wall at the moment. I'd like to have the ability to upload files within a particular subfolder (the latter being located in the folder specified in the option of the File field)
That would be for example having an extra field to specify the destination folder that is used during the upload.

The reason is that I have hundreds of files that I have to index and many of them have the same name. The easy way I can identify them is by putting them in a specific folder.

If I can't do that, I can probably write a 3 line PHP script that will rename all my files and keep them in the destination folder specified in the File field options but I wanted to see if there is a solution I couldn't think of or find.

Thank you for your input

n

Comments

WorldFallz’s picture

checkout the filefield_paths module.

nixar’s picture

I didn't realize I could edit the path at first but now it seems to be doing what I need, thanks!