I've managed to import a few D7 sites using migrate_d2d_ui and now need to import one with private files. I cannot find the right settings. I have copied the files to the server and set the path in the wizard (/home/cluster-sites/25/openit4u.com/pershorefiles/)
I get the messages like this when I run the File import:
The specified file /home/cluster-sites/25/openit4u.com/pershorefiles/private://media/2011-12-03 11.40.31.jpg could not be copied to private://media/2011-12-03 11.40.31.jpg/2011-12-03 11.40.31.jpg.
I seem to have private:// inserted between the source path and the file name, and the filename repeated in the destination.
I've tried various settings and cannot seem to get this working.
Attached is a screenshot of the File import settings.
I'd really appreciate some guidance on what I need to change in these settings to get the paths right.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2014-06-21 08:49:47.png | 197.43 KB | matt b |
Comments
Comment #1
matt bSo I've removed the 'private://' from the source path by hacking modules_d2d/d7/files.inc and changing the fixUri function to:
Comment #2
matt bI've given up with the migrate module and found success using Feeds and Feeds Tamper instead.