[Tickets #5821] VFS FTP backend doesn't completely support netware

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Oct 19 11:04:00 UTC 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=5821
-----------------------------------------------------------------------
 Ticket             | 5821
 Created By         | guy+horde.org at mombe.org
 Summary            | VFS FTP backend doesn't completely support netware
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
+New Attachment     | horde-vfs-ftp.patch
-----------------------------------------------------------------------


guy+horde.org at mombe.org (2007-10-19 04:04) wrote:

The FTP backend for VFS doesn't completely support Netware:

- The directory listing doesn't include the modification date/time.  This
happens because the output of "ls" isn't parsed for date and time.

- One cannot create or move files or directories.  This happens because
Netware's FTP server doesn't like paths that begin with two slashes (//dir
instead of /dir).  This usually isn't a problem with *nix servers, but in
the Netware case it breaks things.

Attached is a patch that fixes these problems.  The patch has been tested
against Netware 6.5.

In addition (and probably completely independently), there's a bug in the
autodetection of server type.  If param['type'] is set, it doesn't work
because it is reset to an undefined string.  This in turn happens because
$this->_type = $type; is on the wrong side of a curly brace.

The patch fixes this problem too.



More information about the bugs mailing list