I am trying to upload a .gz file from my local Windows machine (with iron python installed) to remote Linux machine.Using IronPython as python interpreter.
Python code works great with normal python (cpython) interpreter can upload .gz files. Initially I thought because of the size of my .gz it failed but I have tried uploading a large text file (45MB) that copies well with IronPython but .gz(400kb) fails. Am
i missing something ?
Iron Python version 2.7
r= "10.xx.xx.130" #change this
conn = rpyc.classic.connect(r)
rpyc.classic.upload_file(conn, localfile, remotepath)
Traceback (most recent call last): File
> line 305, in _dispatch_request
> res = self._HANDLERShandler File "/usr/lib/python2.7/site-packages/rpyc-3.3.0-py2.7.egg/rpyc/core/protocol.py",
> line 535, in _handle_call
> return self._local_objectsoid UnicodeEncodeError: 'ascii' codec can't encode character u'\x8b' in
> position 1: ordinal not in range(128)