GuidesCpp
C++ file transfer guide
Transfer protected files over a socket session with stop/resume support.
C++ file transfer guide
Blazeauth file transfer is a streaming protocol over WebSocket:
- send a JSON request with
type = transfer_file - send a binary frame with the chunk bytes (optional when
chunk_size = 0) - receive a JSON response (
transfer_file_result) - repeat until the server indicates completion
Two messages per chunk
Each chunk is sent as two WebSocket messages: JSON header → binary payload.
File transfer flow
Each chunk is JSON header + binary frame.
Stop and resume
You can stop a transfer and optionally request a resume_token.
To continue later, call resume_file_transfer with that token.