Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
if i happen to have the same file name for different files on two systems, node_export_file module will not work if you use the url or data mode. it simply uses the same file that was already there.
Comments
Comment #1
danielb CreditAttribution: danielb commentedwhy do you have different files with the same filename? do I really have to rewrite the damn module or can you just use a more sensible file naming system?
Comment #2
danielb CreditAttribution: danielb commentedI see in the code that it also checks filesize and does a hash - but I'm not sure if that part is executed in all cases. I guess we could reuse that bit of code wherever else it needs to go
I'm referring to the if-statements in node_export_file_import_file()
Comment #3
danielb CreditAttribution: danielb commented