Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qalk - File Transfer Client/Server Project

Overview

Qalk is a simple client-server file transfer application using Python sockets. It supports:

  • Viewing server directory (LIST)
  • Downloading single or multiple files with chunking (GET)
  • Navigating server directories (CD, PWD)
  • Viewing directory listings with folders highlighted
  • Environment configuration via .env file

Project Structure

qalk/
├── .env                # Server host and port settings
├── .gitignore
├── requirements.txt    # Python dependencies
├── README.md
├── server/
│   └── main.py         # Server implementation
└── client/
    └── main.py         # Client implementation

Setup Instructions

1. Clone the repository and navigate to qalk/:

cd qalk

2. Install dependencies:

pip install -r requirements.txt

3. Configure the .env file:

SERVER_HOST=localhost
SERVER_PORT=5001

Usage

Start the Server

python server/main.py

Start the Client

python client/main.py

Available Client Commands

  • LIST — list files and folders on the server
  • GET file1.txt file2.zip — download one or more files
  • CD foldername — change server directory
  • PWD — print current server directory
  • QUIT — disconnect

Notes

  • Files are transferred in 1MB chunks.
  • Folders are shown in bold blue in directory listings.
  • Downloads are saved to client/download at default.

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages