transfer data using base64 encode