https://github.com/peeepca/server_client
Send file from client to server via socket
https://github.com/peeepca/server_client
Last synced: 20 days ago
JSON representation
Send file from client to server via socket
- Host: GitHub
- URL: https://github.com/peeepca/server_client
- Owner: PeeepCa
- License: unlicense
- Created: 2024-07-27T09:12:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-27T09:13:17.000Z (almost 2 years ago)
- Last Synced: 2025-01-09T16:02:08.691Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Client-Server App
The task is to implement a simple client-server application using Python. The server listens for incoming connection from a client. Client attempts to connect to the server and establish a file transmission. The server receives transmitted file and saves it to a designated directory.
### Project Structure
- `README.md`: An overview and instructions.
- `server.py`: The Server implementation.
- `client.py`: The Client implementation.
### Server
- configurable
- after start-up it waits for a client connection
- after client connection is accepted, it receives a file from the client and saves it into designated directory
- if received file in the directory already exists, it is not overwritten
### Client
- configurable
- accepts input file with a path to file to be transmitted
- displays progress during the file transmission