It would be great to let the administrator choose to just link the shared dropbox / drive / box file instead of downloading it to the server. This way it is possible to update the file in dropbox, without having to re-attach it in drupal.

For now, I don't see how this can be done. I'm even not sure it is possible in the file field. Maybe it has to be linked using link field (https://www.drupal.org/project/link).

Could be an interesting sub-module?

Comments

gregdm7 created an issue. See original summary.

minnur’s picture

This is sounds like a great idea. I will look into integrating this with Link module when I have time. Thanks!

torgosPizza’s picture

It seems like this would actually make more sense if #2566345: Integrate with FileField Sources made it into the module. I've integrated Amazon S3 with Filefield Sources in a similar fashion, which basically allows me to treat S3 as a filesystem stream wrapper. In this way we're able to manage S3 files as remote files, without ever having to download files from S3 to the Drupal server.

I'll see if it's an easyish thing to add; it can be done as a submodule in Contrib to keep things manageable.

torgosPizza’s picture

minnur’s picture

@torgosPizza thanks for the suggestion, however this module has a different purpose, in order to be able to use Dropbox and similar services you would need a more complex integration. This module is only using Javascript API provided by external services to import files into Drupal.

torgosPizza’s picture

I see. Thanks!