I'm running into issues with the ftp harvest. When a username has spaces and/or when a filename has spaces, the harvester breaks.

ftp_get() [<a href='function.ftp-get'>function.ftp-get</a>]: photographers/Oleg/#3.jpg: No such file or directory in /home/www-data/prod/sites/all/modules/media_mover/media_mover_ftp/media_mover_ftp_harvest.inc on line 140.

I know it's not the # character as I removed that from the file name, and it really is the spaces. Does anyone have any ideas on how to fix this? Seems like a pretty big issue for something like this.

Comments

jason ruyle’s picture

Anyone have suggestions for the username as token issue? I can resolve the spaces in the filenames by running a cronjob and shell script, but I'm concerned about the usernames.