Hello i'm using file field sources with imce and storage api as default file system and as field storage.

IMCE tells me the following

Warning: opendir(storage-field-video://ftp_uploads/): failed to open dir: "DrupalStorageStreamWrapper::dir_opendir" call failed in imce_scan_directory() (line 971 of <path_to_httpdocs>/sites/all/modules/imce/inc/imce.page.inc).
Directory ftp_uploads is not accessible.

I have placed the ftp_uploads folder inside the initial container and tried some other places inside the files directory but nothing seams to work. Is it possible to give imce an absolute path or another path inside the files directory?


ufku’s picture

Status: Active » Closed (works as designed)

Storage api should be implementing directory scanning methods properly its stream wrapper interface. See Amazon s3 module for an example.