How rudareanuleonard/skybox works
SkyBox recursively scans a client-side folder, represents discovered files, then connects to a TCP server and sends each file’s name and bytes. The server accepts the connection, reconstructs the relative path, and writes received data beneath its files_from_client directory. The README describes recursive client–server transfer; sampled code shows the scan and transfer flow, but not a fuller change-detection or synchronization protocol.
Main entry points: Client.cpp Client workflow · FilesManager.cpp Folder scanner · Server.cpp File receiver · files_from_client Received files
Components 9
Client scanning and transfer
- Client workflow
Client/Client.cpp - Folder scanner
FilesManager/FilesManager.cpp
File representation
- File record
File/File.cpp
Server reception
- Server listener
Server/Server.cpp - File receiver
Server/Server.cpp
File storage
- Received files
Server/files_from_client
Other components
- Sync initiator
- Client folder
- TCP connection
Connections 12
- Sync initiator → Client workflow: starts
- Client workflow → Folder scanner: scans folder
- Folder scanner → Client folder: reads recursively
- Folder scanner → File record: creates records
- Folder scanner → Client workflow: returns files
- Client workflow → TCP connection: connects
- Client workflow → TCP connection: sends names
- Client workflow → TCP connection: sends bytes
- TCP connection → Server listener: delivers connection
- Server listener → File receiver: dispatches file
- File receiver → Received files: writes files
- File receiver → Received files: checks existing paths