I want something like IMCE but this one for file upload.

So instead storing file uploads on /files I'd like to have /files/u1 and so on based on user id.
At the end it would be the same folder i.e files/u1 for both images via IMCE and file uploads.

How to achieve this?

Regards

Comments

pramudya81’s picture

hope there is module to handle this need...

CleanCutRogue’s picture

I've wanted this forever... I hope someone knows of such a module or patch...

pramudya81’s picture

yup. very useful to have IMCE behavior for file upload management.

should be easy right? have a look at IMCE codes and try to implement it for file upload...
But I can't :) just a beginner...

pramudya81’s picture

could anyone point modules that does this?

Regards

dmjossel’s picture

I'm not aware of any module that does this.

One question would be: what is the intended effect? If you're using the public download method, this won't have any effect on which files are available. It won't affect anything, in fact, other than what you see when you browse /files.

If what you need is a way just to see, as an administrator, who has what files, I'd suggest installing Views and building a custom view that shows you all nodes with attached files, filtered and sorted by node creator.

pramudya81’s picture

your 2nd solution is close to what I expected.

But if this kind of a module exists it would be perfect.
Attached file management would be in a level as image file management.
All clean and tidy in each folder corresponding to each particular user in file system.

Perhaps I just need to "forget this hope"
Thanks anyway for your input

Regards

WorldFallz’s picture

what makes you think you can't use IMCE for non images?

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

pramudya81’s picture

Anyway imce is tightly integrated with TinyMCE so clicking insert image will open imce browser and at the end we will click "add" that will place the image on textarea. Not for file attachment.

Thanks for this input. I'll try this one.

WorldFallz’s picture

And clicking the "link" icon in tinymce will also provide the IMCE browse/upload dialog box for adding links to files. Though, since they are not "attached" to the node like that core upload module does, they are just hrefs. If you're not managing private files via node access control, this is all you need and it mimics the image browse/upload ui so users don't get confused.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz