Closed (fixed)
Project:
FileField Sources
Version:
7.x-1.4
Component:
Source: Remote URL
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 May 2012 at 11:09 UTC
Updated:
13 Aug 2012 at 02:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchWhich S3 module are you using? I read through http://drupal.org/project/amazons3, because it seems the most popular and found that our file_prepare_directory() checks will always fail with remote stream wrappers, because they don't know how to translate "is_dir" calls. FileField Sources tries to make sure that the destination is valid before it copies the files, but this doesn't seem possible in S3. For now what I've done is add another check for chmod() to that will pass with the amazons3 module because it always returns TRUE for chmod() checks.