oeed / CraftOS-Standards

Community standard file formats, communication systems, etc. for ComputerCraft and CraftOS 2.0
Other
20 stars 14 forks source link

Suggestion - File over rednet #65

Open Lupus590 opened 7 years ago

Lupus590 commented 7 years ago

You could probably borrow a lot of stuff from terminal redirection over rednet.

viluon commented 7 years ago

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.

Lupus590 commented 7 years ago

Ok, I'll start making a pull request then.

SquidDev commented 7 years ago

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.

Lupus590 commented 7 years ago

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.

lyqyd commented 7 years ago

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.).