Working single photo transfer between client and server