SID_GETFILETIME
| Protocol | BNCS |
|---|---|
| Directions | Client → Server and Server → Client |
| Used by |
Asks when a server file last changed, so the client knows whether to download it again.
Client → Server
| Type | Field | Notes | Confidence |
|---|---|---|---|
UINT32 |
Request ID | Chosen by the client and echoed back. | ✅ Verified |
UINT32 |
Unused | Echoed back. | ✅ Verified |
STRING |
File name | Such as tos_USA.txt, bnserver.ini or an icons file. |
✅ Verified |
Server → Client
| Type | Field | Notes | Confidence |
|---|---|---|---|
UINT32 |
Request ID | ✅ Verified | |
UINT32 |
Unused | ✅ Verified | |
FILETIME |
Last changed | 0 if the server doesn't have the file. |
✅ Verified |
STRING |
File name | ✅ Verified |
Remarks
Clients wait for this reply, so a server must always answer, even for files it doesn't have. After the reply, the client downloads anything newer over BNFTP.
Diablo II needs tos-unicode_USA.txt. Without that file, a real Diablo II client disconnects when the player opens Create Account.
Appears in
Sources and credits
- Command Center: bnetccd session handling
- BNETDocs, SID_GETFILETIME (client to server): documented by the original BNETDocs contributors, and edited 4 times since.
- BNETDocs, SID_GETFILETIME (server to client): documented by the original BNETDocs contributors.
This page is written in our own words. BNETDocs is credited for its research; none of its text is copied. See Credits.