Skip to content

Commit 864e4fc

Browse files
updated README
1 parent e3c3d3f commit 864e4fc

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# netpyfile
22
netpyfile is a pure python 3 file transfer program
33
<br>
4-
it allows for file transfer between computers
4+
it allows for file transfer 2 computers
55
<br>
66
with this, you can choose a directory to serve and configure the ip and port
77
<br>
@@ -26,6 +26,18 @@ after you are done run the python file:
2626
```
2727
python server.py
2828
```
29+
## enabling authentication (optional)
30+
first set `authenabled` to 1 in `server.py`
31+
<br>
32+
then you need to generate a md5 hash
33+
<br>
34+
to do that run `passgen.py`
35+
```
36+
python passgen.py
37+
```
38+
after running that follow the steps and you will have a md5 hash
39+
<br>
40+
put that md5 hash in string called `authhash` in `server.py`
2941
# configuring and using the client
3042
to use the client, you need to have your servers ip and port
3143
<br>
@@ -37,3 +49,4 @@ python client.py
3749
```
3850
## authors
3951
* **DebianProgrammer** - *Initial work* - [DebianProgrammer](https://github.com/DebianProgrammer)
52+

0 commit comments

Comments
 (0)