6.0.0-beta1
9/24/25

[#5821] VFS FTP backend doesn't completely support netware
Summary VFS FTP backend doesn't completely support netware
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester guy+horde.org (at) mombe (dot) org
Created 10/19/2007 (6550 days ago)
Due
Updated 10/21/2007 (6548 days ago)
Assigned
Resolved 10/21/2007 (6548 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/21/2007 04:21:19 PM Chuck Hagenbuch Comment #2
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
Committed to HEAD, thanks!
10/19/2007 11:04:00 AM guy+horde (dot) org (at) mombe (dot) org Comment #1
Priority ⇒ 1. Low
New Attachment: horde-vfs-ftp.patch Download
Queue ⇒ Horde Framework Packages
Summary ⇒ VFS FTP backend doesn't completely support netware
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
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.

Saved Queries