put/get server implementation