CraftOS-Standards
CraftOS-Standards copied to clipboard
Suggestion - File over rednet
You could probably borrow a lot of stuff from terminal redirection over rednet.
AFAIK we've agreed that this repository shouldn't host and/or maintain mere ideas, like this one. If you want to propose a standard, please write its spec and open a PR.
Waiting for other collaborators for permission to close this.
Ok, I'll start making a pull request then.
I wonder if this could be built as a extension of TRoR rather than a copy of it. However there may be times you want file transfer without terminal syncing.
NSH does have FTP built into it. I should probably look at that for my standard submission.
I will try to aim for those times where having the terminal is not useful, as NSH requires user input to get its 'FTP' part to work.
Also the tror standard here doesn't include the redirection part currently, where as NSH (which it's taken from) does.
We might find it useful to standardize the full file system over rednet feature set (which nsh's file transfer system uses a subset of), examples of which can be found at lnfs-daemon and lnfs-client, the latter being a virtual file system mount intended for use with LyqydOS. For instance, nsh does not implement the packets to get a list of files on the server, or to determine the status of a file (exists, readOnly, isDirectory, etc.).