Api/netfolder.putfolder()

From Minux Wiki
Revision as of 22:46, 24 September 2024 by Shorun (talk | contribs) (Created page with "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 iden...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.