Protocols/netfolder
Jump to navigation
Jump to search
this protocol explains how netfolder talks over the network
putfile
client: "NETFOL-TEST" - string
client: path - string, server location
client: login - string, username to be used
client: pass - string, password for this user
server: path - bounce
server: login - bounce
server: pass - bounce
client: sync reply - string - must be = "SYNC-SUCC" to proceed.
server: "NETFOLDER-DENIED" if refused or "NETFOLDER-PUTFILE" if accepted, both strings. server either stops or listens for file data
client: filedata - the actual file read in a string
server: filedata - bounce the data
client: sync reply - bool - must be true to proceed
the server can now write the file