I'm trying to import a list of documents into Omeka using the CSV import plugin. The CSV file is well-formed and if the "Stop Import If A File For An Item Cannot Be Downloaded?" option is un-checked, all records are created. However, one of the fields is a URL to a file I would like to import into Omeka, and while the URL to the original file was shown, no file was actually imported.
After undoing and re-running the import with the stop at errors option checked, the import stops at the first record, claiming both "Import Error: Invalid File Download" and
"URL is not readable or does not exist:". Copying the offending URL into a new browser tab shows that the URL does indeed work correctly, and the PDF displays.
The first record contains a URL which contains spaces in the filename, which is what caused the problem. I rearranged my CSV file to make sure that the first record has no spaces in the URL and it worked fine, before stopping at the second record, whose filename contained spaces.
Is there a workaround for this?