132: def list(url, links = :ignore, recurse = false, ignore = false, client = nil, clientip = nil)
133: mount, path = convert(url, client, clientip)
134:
135: mount.debug "Listing %s for %s" % [url, client] if client
136:
137: return "" unless mount.path_exists?(path, client)
138:
139: desc = mount.list(path, recurse, ignore, client)
140:
141: if desc.length == 0
142: mount.notice "Got no information on //%s/%s" % [mount, path]
143: return ""
144: end
145:
146: desc.collect { |sub| sub.join("\t") }.join("\n")
147: end