Can't map files if the file name has a space in it
When the files are uploaded to the server, all spaces are replaced with an underscore. But the xml files retain the original file name with the space. You can do a mass replace easily enough on the xml to fix the issue, but ideally the spaces should be replaced in the output xml file as well.
Same issue. When I import files, the spaces are replaced with underscore, so the import Errors remain.
Issue reported as early as 2017: https://github.com/concrete5/addon_migration_tool/issues/41#issue-261331819
A solution could be to comment row 375 of file concrete/src/File/Service/File.php in the function "sanitize" before to start uploading files. This permit to finish the migration process. Naturally is a trick and not a definitive solution. This maintain the name of files with spaces.
This is the row (Concrete5 v. 5.8) that change in the URL of files the underscore "_" instead of space character.
$asciiName = trim(preg_replace(["/[\\s]/", "/[^0-9A-Z_a-z-.]/"], ["_", ""], $asciiName));