Hi,

Media Feeds is working great. Thanks for all your hard work.

I noticed that upon import, my remote files, mapped using the (media_internet) setting, are not respecting the File directory setting on the field - "Optional subdirectory within the upload destination where files will be stored. Do not include preceding or trailing slashes."

Instead, they are being uploaded directly into the public files directory. I think this should respect the subdirectory option set on the field.

Is this a simple fix? I don't really know where to start looking for that one simple variable.

Comments

Niklas Fiekas’s picture

Hi, unfortunately I don't think this is trivial. It has been an issue for quite some time in the media module itself, but has been solved in 7.x-2.x: #1201924: Widget does not respect settings in file_field_instance_settings_form (uri scheme, directory, extensions, file size). I didn't yet try to study that issue and see what Media Feeds can do to leverage that.

It is certainly on my TODO list, now. Patches welcome.