Move upload state tracking from server to client.