add sudo note for port to README.md
This commit is contained in:
parent
d920308e5b
commit
cbb012be47
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue