add sudo note for port to README.md

This commit is contained in:
monomono2 2021-04-21 10:22:06 -05:00 committed by GitHub
parent d920308e5b
commit cbb012be47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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:
<pre>