Download thread

As mentioned here, if Allow_Download=1, then clients will be able to download maps and their sceneries/textures before joining the game. The request used is as follows:

STARTFILES  ENDFILES

NOTE: the file transfer protocol is changing in 1.5.0 to allow the request of multiple files simultaneously.

Example request
maps/Arena.PMS STARTFILES maps/Arena.PMS file_contents ENDFILES

Using the map thread to retrieve gamestat.txt
logs/gamestat.txt\r\n STARTFILES\r\n logs/gamestat.txt\r\n \0\0\SOH3In-Game Statistics\n Players: 7\n Map: ctf_Run\n Game...\n ...\n ENDFILES\r\n

1.5 Request
STARTFILES\r\n maps/ .PMS\r\n logs/gamestat.txt\r\n ... ENDFILES\r\n

1.5 Response
STARTFILES\r\n  maps/ .PMS\r\n logs/gamestat.txt\r\n ... ENDFILES\r\n