OC-Minitel

Easy-to-implement networking protocol for OpenComputers


Project maintained by ShadowKatStudios Hosted on GitHub Pages — Theme by mattgraham

FRequest - Simple file transfer protocol - Revision 1

FRequest is a simple file transfer protocol for use on Minitel or similar networks.

Requests

A client request consists of the following:

Request types can be the following characters:

Server responses

The server should respond with:

Status codes can be the following characters:

Example exchange

  1. The client initiates a connection to the server on the FRequest port (default 70)
  2. The client sends t to ask for a transfer, the path example.txt, and a newline.
  3. The server finds the file and responds with y followed by the file contents.
  4. The server closes the connection when the transfer is completed.

Servers may wish to implement restricting users to a specific directory.

Implementations