hmes98318 / Logistics-Station

A simple file shares implement in Python TCP socket.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logistics-Station

Python 3.10 GitHub

A simple file shares implement in Python TCP socket.

Using a centralized Server to send and receive files that multiple Client can transfer files to each other.
Others can download the corresponding file from the Server by using the pickup code when the user upload the file to the Server and share the pickup code with them.

TCP/IP network programming class final report.

Recv4

Installation

Install modules

requirements.txt

pip install -r requirements.txt

Open The Directory

cd src/

Entrypoint

python ./main.py

Server Deployment Docs

./server/README.md

Structure

The main file structure of the Client

src
├── main.py (Entrypoint)
│
├── data
│   └── userData
│
├── gui
│   ├── images
│   │   └── (UI images)
│   ├── LoginWindow.py (Login UI)
│   ├── MainWindow.py  (Main UI)
│   └── controller.py  (UI controller)
│
└── tcp
    └── Client.py

The main file structure of the Server

src
├── database
│   └── mongo.py
│
└── Server.py

Examples

  • account : user
  • password : password

login

Recv

Recv2

Recv3

Recv4

Send

Send2

Send3

Setting

Copyright & License

The project is released under the GNU General Public License v3.0, see the LICENCE file for details.

Copyright (C) 2022-2023 hmes98318 , sakura0711

About

A simple file shares implement in Python TCP socket.

License:GNU General Public License v3.0


Languages

Language:Python 99.8%Language:Shell 0.1%Language:Dockerfile 0.1%