dhylands / rshell

Remote Shell for MicroPython
MIT License
955 stars 137 forks source link

timed out or error in transfer to remote b'' (Windows host to esp32s2) #176

Open dmccue128 opened 2 years ago

dmccue128 commented 2 years ago

I am unable to copy any files to my esp32s2 using command shell on WIndows 11 Home version. The directory entry is created on the esp32, but the file contents are not copied, failing with 'timeout or error'. See below:

C:\Users\dmccu\turcmain>rshell --version 0.0.31

C:\Users\dmccu\turcmain>rshell -p com16 --buffer-size=512 Using buffer-size of 512 Connecting to com16 (buffer-size 512)... Trying to connect to REPL connected Retrieving sysname ... esp32 Testing if ubinascii.unhexlify exists ... Y Retrieving root directories ... /TurcEvent.py/ /boot.py/ Setting time ... Jan 03, 2022 06:45:38 Evaluating board_name ... pyboard Retrieving time epoch ... Jan 01, 2000 Welcome to rshell. Use the exit command to exit rshell.

C:\Users\dmccu\turcmain> ls -l /pyboard 0 Jan 3 06:36 TurcEvent.py 139 Jan 1 2000 boot.py

C:\Users\dmccu\turcmain> ls -l ./TurcEvent.py 1946 Jan 2 13:30 ./TurcEvent.py

C:\Users\dmccu\turcmain> cp ./TurcEvent.py /pyboard/TurcEvent.py Copying 'C:\Users\dmccu\turcmain/TurcEvent.py' to '/pyboard/TurcEvent.py' ... timed out or error in transfer to remote: b''