About space in files name

Created on 2 July 2020, almost 5 years ago
Updated 4 March 2025, about 1 month ago

Im exporting content type information to cvs files with a views module in drupal 7 and importing with Migrate Files (extended).

But I get some problem, the files name with spaces between word dont import.

The export module add: %20 in each space.

Is there something about special character or space to take care to import files?, related with this module.

๐Ÿ’ฌ Support request
Status

Closed: works as designed

Version

2.1

Component

Documentation

Created by

๐Ÿ‡ฒ๐Ÿ‡ฝMexico koffer

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡ฉ๐Ÿ‡ฐDenmark ressa Copenhagen

    Thanks for a wonderful module @drclaw, and your answer is correct: URL-decoding spaces and special characters such as รถ, allows the import of images to go through.

  • ๐Ÿ‡ฎ๐Ÿ‡นItaly apaderno Brescia, ๐Ÿ‡ฎ๐Ÿ‡น
  • ๐Ÿ‡ฉ๐Ÿ‡ฐDenmark ressa Copenhagen

    Why did you change it back @avpaderno? I changed it to the current version intentionally, since this is still a valid question, and the method suggested by @drclaw still works in the current version.

    If you feel strongly it should be reverted to 8.x-1.1, please leave a comment as to why, and let's have a discussion.

  • ๐Ÿ‡ฎ๐Ÿ‡นItaly apaderno Brescia, ๐Ÿ‡ฎ๐Ÿ‡น

    It is an issue that has been closed ad Closed (works as designed) almost four years ago.
    It is pointless to change version without re-opening the issue, since nobody will see it, which means nobody will see what reported as still relevant.

  • ๐Ÿ‡ฉ๐Ÿ‡ฐDenmark ressa Copenhagen

    Thanks for clarifying your thoughts behind reverting the version number.

    I did not leave a comment and change the version number to get support, I did it to signify that the suggested solution is still valid in the current version.

    You would know this, if you had cared to read my short comment.

    And I disagree: Others who run into this problem will search, and find this issue, and get a recent confirmation, that it still works.

    So the information in this issue is quite the opposite: Still very relevant.

  • ๐Ÿ‡ฎ๐Ÿ‡นItaly apaderno Brescia, ๐Ÿ‡ฎ๐Ÿ‡น

    You would know this, if you had cared to read my short comment.

    I read it, but what said in that comment does not say anything about why the version has been changed. It just says you thank drclaw and that you agree with him. Neither of those are reasons for changing version for a closed issue.

  • ๐Ÿ‡ฉ๐Ÿ‡ฐDenmark ressa Copenhagen

    Well, the text combined with the version change would infer that, but I have added a line to clarify this.

    Also, you seem to have missed that this issue is not really about this module, but a universal problem of handling spaces in filenames. Anyway, I think we have wasted enough time on this by now :)

Production build 0.71.5 2024