From cbb012be471ebeb6ec4ec603c31a0ef98219aa87 Mon Sep 17 00:00:00 2001 From: monomono2 <68532245+monomono2@users.noreply.github.com> Date: Wed, 21 Apr 2021 10:22:06 -0500 Subject: [PATCH] add sudo note for port to README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2089092..8201051 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,12 @@ Additionally, it also allows changing the owner and group of the file on the ser ##### Usage -On the server which receives the files, use `sudo ./py-file-upload.py` to start the server. Without `sudo`, the `chmod` and `chown` function will not work, but file transfer will still work. +On the server which receives the files, use `sudo ./py-file-upload.py` to start the server. +Without `sudo`: + +* The `chmod` and `chown` function will not work, but file transfer will still work. +* The default port 80 requires privilegies, you must change de port 80 to other port (8080 by example) at end of the file py-file-upload.py. From the client machine, use `curl` or other utility to submit a form to the server: