Hi,

I m using the module "field collection" to upload files. But I need to be able to select or browse files already existing on the server.

In fact, Field Collection seems to allow only uploaded files. If a file already exist (ex: myfile.pdf), then the new file uploaded is duplicated (ex: myfile_0.pdf). Is there a way to select an existing file on the server (ex: select the myfile.pdf instead to upload it again) ?

I saw the module "FileField Sources" who make possible to browse existing files. But it is not compatible with Field Collection.
Is it possible to make them compatible ?

Thanks

Comments

RobW’s picture

Priority: Major » Normal

Try the Media module. It has a file browser built in, and parts of it will be the model for Drupal 8's file management.

It's in active development, so if you find it is causing more trouble than it's solving you might want move on. But with a simple use case like yours I think it will work well.

filnug’s picture

Status: Active » Closed (fixed)

@RobW > thank you for the advice. I used th Media and IMCE modules. This solution is the easier and does what I need.