Api/netfolder.getfolder()
Jump to navigation
Jump to search
this api is used by netfolder clients to download an entire folder and all it's subdirectories
can only clone paths from the server to the client, so the path is the same on both sides.
usage:
netfolder.getfolder(server, serverpath)
output:
does a recursive fs.list() on "serverpath" on the fileserver, processes the answer for download and then uses getfile to download the found files.
in effect this makes a copy of "serverpath" to your local computer, all pathnames are identical for now. it's a first version.