Closed (works as designed)
Project:
Migrate Files (extended)
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2018 at 08:40 UTC
Updated:
18 Jun 2021 at 19:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vasikehere is patch for this
Comment #3
vasikeComment #4
drclaw commentedYou actually can do this already. To indicate that the destination is a directory, and that the filename should be maintained, you just need to add a trailing slash to the destination value. e.g. public://folder/
I believe the documentation on the destination property in the FileImport class explains this, although it's possible I added it after this came through... 🤔