Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/VfsPublic

Commitc1ae457

Browse files
authored
Merge pull request#6 from amulet1/patch-1
Support file names with consecutive spaces on Netware FTP servers
2 parents5a8836b +d118e0c commitc1ae457

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎lib/Horde/Vfs/Ftp.php‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,10 +586,7 @@ protected function _listFolder($path = '', $filter = null,
586586
$file['date'] =strtotime('00:00:00' .$item[5] .'' .$item[4] .'' .$item[6]);
587587
}
588588

589-
$file['name'] =$item[7];
590-
for ($index =8,$c =count($item);$index <$c;$index++) {
591-
$file['name'] .='' .$item[$index];
592-
}
589+
$file['name'] =substr($line,64);
593590
}else {
594591
/* Handle Windows FTP servers returning DOS-style file
595592
* listings. */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp