Tune in to peer-to-peer!
To transfer between two nodes enter the following command on both local terminals:
python center.py
python peer.py
center: Connect to center
listpeers : List all peers
listfiles: Quit and disconnect
python center.pyRun serverpython peer.pyRun peer 1 and then give a portpython peer.pyRun peer 2 and then give a port
In folder:
- Add a dummy file to peer 1 folder
In peer 1:
center: Connect to the centerlistpeers: Check peerslistfiles: List files to server
In peer 2:
center: Connect to the centerlistpeers: Check peerscheck: check a file name
End in each peer:
quit: Quit and disconnect