jczic / ESP32-MPY-Jama

v1.2 - UI tool for manage Espressif ESP32 microcontrollers with embedded MicroPython for MacOS, Windows and Linux: mini IDE, files manager, REPL, real time dashboards (sys/net), advanced features (gpio/mp3/leds/...)
https://github.com/jczic/ESP32-MPY-Jama
MIT License
410 stars 25 forks source link

Uploaded files given full Windows path as filename #23

Closed rdagger closed 1 year ago

rdagger commented 1 year ago

I uploaded a few files from a Windows 10 PC to an ESP32 Lolin32 Pro. The files were renamed to the full Windows source path. For example:

After upload -->

MicroPython >>> os.listdir()
['C:\\Users\\Registered User\\Desktop\\test\\ads8671.py', 'C:\\Users\\Registered User\\Desktop\\test\\ftp.py', 'boot.py']

This is what the filenames should be -->

MicroPython >>> os.listdir()
['ads8671.py', 'boot.py', 'ftp.py']

Also, it would be great if you could select multiple files to upload. Thanks!

jczic commented 1 year ago

I will check that!

jczic commented 1 year ago

@rdagger, it's fixed : 44e151a1dedf7b02d54c48091eb3a9e7a5626d95