Move s3 to server from client