Closed (fixed)
Project:
Drupal FTP
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Dec 2009 at 15:42 UTC
Updated:
1 Mar 2010 at 12:50 UTC
It seems the module has problems with file names that include a space character. To solve this problem I suggest the following way of getting the file name in the drupal_ftp_file_list() function:
$file_name = substr($file_list[$i], 55);
It seems to work fine. Do you think it could be any problem with inconsistency in the FTP standard, that makes this bad practice?
Sorry for not submitting a patch, I will learn how to do that asap... :)
Comments
Comment #1
alexkb commentedThanks for pointing this issue out, Tomas. I've now fixed the bug and the changes are in CVS HEAD. I'll be going through the other issues in the drupal_ftp queue in the next few days, and then we'll roll a new 6.x release which will include this bug fix.
Cheers.
Comment #2
alexkb commentedWe've now rolled out a 1.1 release with this change included. Please let us know if you have any issues.