Api/netfolder.putfolder()

From Minux Wiki
Jump to navigation Jump to search

this api is used by netfolder clients to upload a folder to a fileserver

can only clone paths so they are identical on both sides.


usage:

netfolder.putfolder(server, serverpath)


output:

does a recursive fs.list() on "serverpath" on your local computer and then "putfile" the files found on the server, same paths as on the computer.

makes a copy of "serverpath" from the server to your computer as it finds it, all pathnames are identical for now, it's a first version.