Spaces in File Name and User names

Jason Ruyle - July 14, 2009 - 19:43
Project:Media Mover
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

Jason Ruyle - July 27, 2009 - 22:35

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.

 
 

Drupal is a registered trademark of Dries Buytaert.