An open API service indexing awesome lists of open source software.

https://github.com/danex-exe/filetransport

This Python FTP-like solution enables secure file transfers between devices on local networks. The multi-threaded server handles concurrent connections while the cross-platform client offers both CLI and interactive modes. Features include command-line arguments, session persistence, and basic error handling.
https://github.com/danex-exe/filetransport

client filetransport ftp-client ftp-server server

Last synced: 11 months ago
JSON representation

This Python FTP-like solution enables secure file transfers between devices on local networks. The multi-threaded server handles concurrent connections while the cross-platform client offers both CLI and interactive modes. Features include command-line arguments, session persistence, and basic error handling.

Awesome Lists containing this project

README

          

Documentation



English
Русский



This Python FTP-like solution enables secure file transfers between devices on local networks. The multi-threaded server handles concurrent connections while the cross-platform client offers both CLI and interactive modes. Features include command-line arguments, session persistence, and basic error handling.

# server.py
A multi-threaded FTP-like file server supporting:
- File upload/download for all file types
- Directory navigation (CD command)
- File listing (LIST command)
- Automatic local IP detection
- Cross-platform console clearing
- Client connection management

Key Features:
- Uses TCP sockets on port 5001
- Maintains separate client sessions
- Stores files in "server_files" directory
- Handles multiple concurrent connections
- Basic error handling

# client.py
A feature-rich client with:
- Interactive and CLI modes
- Command-line arguments support:
- `-i IP` - Server IP
- `-p PORT` - Server port
- `-l` - List server files
- `-u FILE` - Upload file
- `-d FILE` - Download file
- `-h` - Show help
- Local IP detection
- Session history preservation
- Cross-platform compatibility
- Auto-completion for common commands