netpyfile is a pure python 3 file transfer program
it allows for file transfer multiple computers
with this, you can choose a directory to serve and configure the ip and port
and configure the client to connect to your server
to use the server you need to have your servers ip and the port
run this in a terminal:
ip a
and get your servers ip by finding the network interface you use
once you have your server ip, open the server.py
file and look for a string thats called myip
and edit that to your ip
you may also change the port by editing the port
integer if needed
to change what directory the server serves, edit the serverpath
string
after you are done run the python file:
python server.py
WARNING: This type of auth is not very secure, it should not be relied upon.
first set authenabled
to 1 in server.py
then you need to generate a md5 hash
to do that run passgen.py
python passgen.py
after running that follow the steps and you will have a md5 hash
put that md5 hash in string called authhash
in server.py
to use the client, you need to have your servers ip and port
once you have this, configure the client by opening the python file and changing connip
to the server ip and connport
to the port
after that, run the python file and you should be connected within a couple of seconds:
python client.py
Some commands:
list
- lists files
download
opens a download interactive prompt
- DebianProgrammer - Initial work - DebianProgrammer