[Tickets #4362] NEW: VFS Ftp driver doesn't work with AIX ftp servers

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Aug 30 00:11:39 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4362
-----------------------------------------------------------------------
 Ticket             | 4362
 Created By         | werner.guenther at urz.uni-heidelberg.de
 Summary            | VFS Ftp driver doesn't work with AIX ftp servers 
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
+New Attachment     | ftp.php.patch
-----------------------------------------------------------------------


werner.guenther at urz.uni-heidelberg.de (2006-08-30 00:11) wrote:

The ftp driver works well with servers using GNU 'ls', but fails on AIX
servers, as the output is a little bit different. Output looks like this
on AIX:
drw-r--r--   5 wguenthe fphys       2048 Mar 19 2004  WWW
instead of
drw-r--r--   5 wguenthe fphys       2048 Mar 19  2004 WWW

ftp.php tries to detect the start of the file name by reformatting the
date string and by locating the resulting string within the current line. 
The format of the year is '%-5s' on AIX instead of %5s. The included patch
tries to find the position using '%-5s' if '%5s' fails. 




More information about the bugs mailing list