SOLVED - Uploading html to SPIFFS, files look compromised after upload

Hello there,
First of all im fairly new to PlatformIO and im not sure this is posted in the right catagory…

Im trying uploading html files to my NodeMCU

  1. Installed platformio-ide
    2.“data” with html files
  2. Use : PlatformIO: upload SPIFFS image
  3. stuff happens. (see below)
  4. I connect to my NodeMCU,

My first page that popsup at 192.168.4.1 look like, as you can imagine not what I was hoping for.

‹¹¯Vwifisetup.htmlÕZYsÓ0~g†ÿ ü@ qަ@‡á¾K‡”†aÅVQÇ6–Ò4”þwV’%;MR9ÀæÒñí½Zõg„cáñœSJIœraùqÄIÄ=gA>õrJ}R—;ˆF”SÖ™Câµä®_C§)çIü˜ÓSÏy¬¸Ô— )ðä䌻S>{ÈŸâ”îÍù¸~O1¬€ãː ”Ï˜#åŒãt†Ð9 (KB¼<@BÒCò»ˆëˆz/z"Ä#®#|†=‰#“9¿Ñw¥Ž„DOŽL[ƒôECÂ9&='IqØwaTÒ°éK;°ÏiyŽ#G( pÇ ’ ‰Å¼8¦“yJún6¬õ¥Fh§I=§é $´c öA¶ýaìw$΂z°×l&gNé Ï„C:]R:™rgðDBjô]þ(¿äqq 9ÁKü•n•<¾|bÉ ”0Õ6bÊHŽ=ÂŒ-À{[D%Ù´gz™HÓßM쓏 Ò ‰Ï•§~¢X«¶aÛrhõÓy´åëljH©ýÓH$JÐwÕhW‚® ÚR&¯ ë»Ê„‚é…Ùm^xyt çm¦É·¦ò‰n3ú“ˆD4¶“´ $­r$íI»I§@Ò1Á2´e’áðf’ÖDfÚ ¢]Ê kå$¥Ü°vNRÊ ËÜ Ú;Yÿs²ÀK«õ“…¶^´KY°VNRÊz€µs’RÖ¬““l¶^ü%–ð‚kª{¾~û£tcÝ?<>ÚPöÿIÕï´TÕ·,R©Â¤§$Ý\°&)E<«Yy×”]ÊÖŸ”ž?-u›JV‰š•

All sugestions are welcome…
greeting Mark

Stuff that happens:

\.platformio\packages\tool-mkspiffs\mkspiffs" -c data -p 256 -b 8192 -s 1028096 .pioenvs\nodemcuv2\spiffs.bin
/index.html
/Irrigation.html
/settings.html
/style.css
/wifisetup.html
MethodWrapper(["uploadfs"], [".pioenvs\nodemcuv2\spiffs.bin"])
Looking for upload port/disk...
Auto-detected: COM5
\.platformio\packages\tool-esptool\esptool" -vv -cd nodemcu -cb 115200 -cp "COM5" -ca 0x300000 -cf .pioenvs\nodemcuv2\spiffs.bin
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM5
setting address from 0x00000000 to 0x00300000
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
Uploading 1028096 bytes from .pioenvs\nodemcuv2\spiffs.bin to flash at 0x00300000
erasing flash
size: 0fb000 address: 300000
first_sector_index: 768
total_sector_count: 251
head_sector_count: 16
adjusted_sector_count: 235
erase_size: 0eb000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 15000 ms
setting serial port timeouts to 1000 ms
espcomm_send_command: receiving 2 bytes of data
writing flash
................................................................................ [  7% ]
................................................................................ [ 15% ]

I tried uploading the files to my ESP that was already flashed using the Arduino IDE.

I now flashed the Firmware with platformio end after that the SPIFF. I now all seems to work…

So I guess a newbee mistake.