Api/netfolder.list(): Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
this api is part of netfolder
this [[api]] is part of [[Api/netfolder|netfolder]]


it is used by netfolder clients to list the contents of a folder on a fileserver
it is used by netfolder clients to list the contents of a folder on a fileserver

Latest revision as of 22:40, 24 September 2024

this api is part of netfolder

it is used by netfolder clients to list the contents of a folder on a fileserver


usage:

netfolder.list(server, path)


output:

does a recursive fs.list() on the fileserver's disk, target is "path". the result gets sent to the client and stored in /temp/netfolder/list.ls

this can then be used to "getfolder" or to find a specific file.