Binaries/netfolder: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
the netfolder binary is used to download or upload files and folders from a netfolder server | the netfolder [[Binaries|binary]] is used to download or upload files and folders from a [[Manuals/netfolder|netfolder server]] | ||
to run the binary, tell the command "eg: getfile", the servername you want to get it from, the path on the server, the path on your computer. | to run the binary, tell the command "eg: getfile", the servername you want to get it from, the path on the server, the path on your computer. | ||
Line 29: | Line 29: | ||
delete - removes a folder/file from the server, doesn't need localpath | delete - removes a folder/file from the server, doesn't need localpath | ||
eg: "''netfolder putfile testserver /testfolder/testfile /testfile''" uploads the local file called /testfile" to the server called "testserver" on path /testfolder/testfile. | |||
"''netfolder getfolder testserver /usr''" downloads /usr and it's entire contents from the netfolder server to the local computer. |
Latest revision as of 00:29, 27 September 2024
the netfolder binary is used to download or upload files and folders from a netfolder server
to run the binary, tell the command "eg: getfile", the servername you want to get it from, the path on the server, the path on your computer.
you always need to provide a command, a server and a serverpath.
warning:
netfolder will overwrite any file that is in the way, before you use this, make SURE you did not make a typo.
usage:
netfolder command server serverpath localpath
commands:
getfile - attempts to retrieve a file,
putfile - attempts to upload a file
getfolder - download a folder, and it's contents and subfolders, doesn't need localpath, the same folder will be used on client and server
putfolder - uploads a folder and all it's contents and subfolders, doesn't need localpath, the same folder will be used on client and server
list - shows the contents of a folder and it's subdirectories, doesn't need localpath
delete - removes a folder/file from the server, doesn't need localpath
eg: "netfolder putfile testserver /testfolder/testfile /testfile" uploads the local file called /testfile" to the server called "testserver" on path /testfolder/testfile.
"netfolder getfolder testserver /usr" downloads /usr and it's entire contents from the netfolder server to the local computer.