Api/netfolder.getfile()

From Minux Wiki
Revision as of 22:38, 24 September 2024 by Shorun (talk | contribs) (Created page with "this api is a part of netfolder and is used by a client to obtain a specific file it can ask for a file in a seperate path then it is client side, allowing for "hidden" files '''useage:''' netfolder.getfile(server, serverpath, localpath) '''output:''' downloads a single file from "server" on location "serverpath" to local location "localpath". this is for single files that were stashed away safely for backups. will overwrite whatever is at "l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this api is a part of netfolder and is used by a client to obtain a specific file

it can ask for a file in a seperate path then it is client side, allowing for "hidden" files


useage:

netfolder.getfile(server, serverpath, localpath)


output:

downloads a single file from "server" on location "serverpath" to local location "localpath". this is for single files that were stashed away safely for backups. will overwrite whatever is at "localpath"