From 8b756e368a33a02d7783053b84bc1e5b50419ff0 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Fri, 9 Oct 2015 10:34:49 -0400 Subject: Initial commit --- server/readme.txt | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 server/readme.txt (limited to 'server/readme.txt') diff --git a/server/readme.txt b/server/readme.txt new file mode 100644 index 0000000..ae1b39e --- /dev/null +++ b/server/readme.txt @@ -0,0 +1,44 @@ +Serial Backup Server +==================== + +This Python software acts as a server for receiving files via the +included client program. + +Requirements +------------ + +The server software requires pyserial to be installed: + + https://github.com/pyserial/pyserial + +The server software itself should run fine on both Python 2.7 and Python +3.3 or higher. + +Executing +--------- + +The server software can be started simply with the command: + + python rback.py + +The command above will start the server listening on port /dev/ttyUSB0 +with a speed of 19200 bps. Alternatively, port and speed can be +specified: + + python rback.py -p /dev/ttyACM0 -s 9600 + +The above command is obvious. + +The server should be started before the client since it waits for the +'ONLINE' indicator from the client before receiving files. + +The program will store transfered files in the client systems directory +tree within the current directory. For example, if the client sends: + + E:\MSDOS\EDLIN.EXE + +the server will store the file in: + + /E/MSDOS/EDLIN.EXE + +The server software will overwrite anything already present. -- cgit v1.2.3