Closed Hermann-SW closed 5 years ago
$ ~/webrepl/webrepl_cli.py empty 192.168.4.1: Password: op:put, host:192.168.4.1, port:8266, passwd:abcd. empty -> /empty Remote WebREPL version: (1, 9, 4) Sent 0 of 0 bytes
After CTRL-C and login to REPL file "empty" is there:
... upysh commands: pwd, cd("new_dir"), ls, ls(...), head(...), tail(...), wc(...), cat(...), newfile(...), mv("old", "new"), cp("src", "tgt"), rm(...), grep("opt", "regex", "file"), od("opt", "file"), mkdir(...), rmdir(...), clear >>> ls 3208 FBConsole.py 690 boot.py 296 dup.py 335 dup2.py 0 empty 10414 isalpha.py ...
See https://github.com/micropython/micropython/issues/4499 This was fixed in https://github.com/micropython/micropython/commit/9b2a97a903f0841a75947d86d49f0056d43f81b0
After CTRL-C and login to REPL file "empty" is there: