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.
I set up an importer in Feeds using:
a) "upload fetcher"
b) checked the option "Supply path to file or directory directly"
c) checked "private" schema
d) provided the path to a csv file (not a directory)
I need to know, if the importer progress (for example) is at 60% and I update the csv file (e.g. via Cron), if the left 40% will use new data or the old (before the csv file update) data.
So does feeds stores the whole CSV in cache or saves it temporarily? Or does it always parse the origin source I specified in the "private" schema?
BTW: I often need to update the CSV file.
Comments
Comment #1
tterranigma CreditAttribution: tterranigma commentedA quick look in plugins/FeedsFileFetcher.inc reveals that the file is read with file_get_contents which as we read on php.net:
. So, the file being imported will be imported as it was before you changing it.
Comment #2
twistor CreditAttribution: twistor as a volunteer commentedThe CSV parser does not read the whole file into memory. Updating during an import would cause strange behavior.