Skip to content

Hungww/Simple-File-Transfer-Using-Python-Socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple file transfer program using Python socket

Getting started

First, you need to run the server:

python newserver.py

After that, run your first client and enter PORT 9000

python newclient.py

Run your second client and enter PORT 9001 (NOTE: Use another cmd)

python newclient.py

Now, let the first client push a file

push a.png

And the second client can get the list of all client who owns that file

get a.png

In this case, there is only 1 client owns that file, simply fetch from that client

fetch 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages