Made some modifications to the file transfer from server to proxy.
Need to fix invalid character issue