{"id":86792,"date":"2019-07-05T15:10:13","date_gmt":"2019-07-05T15:10:13","guid":{"rendered":"https:\/\/randomnerdtutorials.com\/?p=86792"},"modified":"2023-04-29T16:32:28","modified_gmt":"2023-04-29T16:32:28","slug":"install-esp8266-filesystem-uploader-arduino-ide","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/install-esp8266-filesystem-uploader-arduino-ide\/","title":{"rendered":"Install ESP8266 Filesystem Uploader in Arduino IDE"},"content":{"rendered":"\n<p>The ESP8266 contains a Serial Peripheral Interface Flash File System (SPIFFS). SPIFFS is a lightweight filesystem created for microcontrollers with a flash chip. This article shows how to easily upload files to the ESP8266 filesystem using a plugin for Arduino IDE.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266_Install_Filesystem_Uploader.png?resize=1200%2C675&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Install ESP8266 Filesystem Uploader in Arduino IDE\" class=\"wp-image-86934\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266_Install_Filesystem_Uploader.png?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266_Install_Filesystem_Uploader.png?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266_Install_Filesystem_Uploader.png?resize=768%2C432&amp;quality=100&amp;strip=all&amp;ssl=1 768w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266_Install_Filesystem_Uploader.png?resize=1024%2C576&amp;quality=100&amp;strip=all&amp;ssl=1 1024w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure><\/div>\n\n\n<p><strong>SPIFFS is currently deprecated<\/strong> and may be removed in future releases of the ESP8266 core. It is recommended to <strong><a href=\"https:\/\/randomnerdtutorials.com\/install-esp8266-nodemcu-littlefs-arduino\/\" title=\"\">use LittleFS instead<\/a><\/strong>. LittleFS is under active development, supports directories, and is faster for most operations. Follow this tutorial instead: <strong><a href=\"https:\/\/randomnerdtutorials.com\/install-esp8266-nodemcu-littlefs-arduino\/\" title=\"\">Install ESP8266 NodeMCU LittleFS Filesystem Uploader in Arduino IDE<\/a><\/strong>.<\/p>\n\n\n\n<p class=\"rntbox rntclblue\"><strong>Note: <\/strong> if you have an ESP32 board, read <a href=\"https:\/\/randomnerdtutorials.com\/install-esp32-filesystem-uploader-arduino-ide\/\">Install ESP32 Filesystem Uploader in Arduino IDE<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introducing SPIFFS<\/h2>\n\n\n\n<p>SPIFFS lets you access the flash chip memory like you would do in a normal filesystem in your computer, but simpler and more limited. You can read, write, close, and delete files. SPIFFS doesn\u2019t support directories, so everything is saved on a flat structure.<\/p>\n\n\n\n<p>Using SPIFFS with the <a href=\"https:\/\/makeradvisor.com\/tools\/esp8266-esp-12e-nodemcu-wi-fi-development-board\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"ESP8266 board (opens in a new tab)\">ESP8266 board<\/a> is specially useful to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create configuration files with settings;<\/li>\n\n\n\n<li>Save data permanently;<\/li>\n\n\n\n<li>Create files to save small amounts of data instead of using a microSD card;<\/li>\n\n\n\n<li>Save HTML and CSS files to build a web server;<\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/display-images-esp32-esp8266-web-server\/\">Save images, figures and icons<\/a>;<\/li>\n\n\n\n<li>And much more.<\/li>\n<\/ul>\n\n\n\n<p>In most of our web server projects, we\u2019ve written the HTML code for the web server as a String directly on the Arduino sketch. With SPIFFS, you can write the HTML and CSS in separated files and save them on the ESP8266 filesystem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing the Arduino ESP8266 Filesystem Uploader<\/h2>\n\n\n\n<p>You can create, save and write files to the ESP8266 filesystem by writing the code yourself in Arduino IDE. This is not very useful, because you&#8217;d have to type the content of your files in the Arduino sketch.<\/p>\n\n\n\n<p>Fortunately, there is a plugin for the Arduino IDE that allows you to upload files directly to the ESP8266 filesystem from a folder in your computer. This makes it really easy and simple to work with files. Let\u2019s install it.<\/p>\n\n\n\n<p>First, make sure you have the latest Arduino IDE installed, and you have the ESP8266 add-on for the Arduino IDE. If you don&#8217;t, follow the next tutorial to install the add-on:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><a href=\"https:\/\/randomnerdtutorials.com\/how-to-install-esp8266-board-arduino-ide\/\">Windows, Mac and Linux<\/a><\/strong><a href=\"https:\/\/randomnerdtutorials.com\/how-to-install-esp8266-board-arduino-ide\/\">&nbsp;instructions \u2013 Installing the ESP8266 Board in Arduino IDE<\/a><\/li>\n<\/ul>\n\n\n\n<p>Follow the next steps to install the filesystem uploader:<\/p>\n\n\n\n<p><strong>1)<\/strong> Go to the <a href=\"https:\/\/github.com\/esp8266\/arduino-esp8266fs-plugin\/releases\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"releases page and click the ESP8266FS-X.zip (opens in a new tab)\">releases page and click the ESP8266FS-X.zip<\/a> file to download.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"856\" height=\"317\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Install-ESP8266-Arduino-IDE-SPIFFS-FileSystem-FS.png?resize=856%2C317&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Download ESP8266 SPIFFS Filesystem fs for Arduino IDE\" class=\"wp-image-86793\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Install-ESP8266-Arduino-IDE-SPIFFS-FileSystem-FS.png?w=856&amp;quality=100&amp;strip=all&amp;ssl=1 856w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Install-ESP8266-Arduino-IDE-SPIFFS-FileSystem-FS.png?resize=300%2C111&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Install-ESP8266-Arduino-IDE-SPIFFS-FileSystem-FS.png?resize=768%2C284&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 856px) 100vw, 856px\" \/><\/figure><\/div>\n\n\n<p><strong>2)<\/strong> Go to the Arduino IDE directory, and open the <strong>Tools<\/strong> folder.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"389\" height=\"30\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Arduino-IDE-Tools-to-Install-ESP8266-SPIFFS-Filesystem-fs.png?resize=389%2C30&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE Tools to Install ESP8266 SPIFFS Filesystem fs\" class=\"wp-image-86796\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Arduino-IDE-Tools-to-Install-ESP8266-SPIFFS-Filesystem-fs.png?w=389&amp;quality=100&amp;strip=all&amp;ssl=1 389w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Arduino-IDE-Tools-to-Install-ESP8266-SPIFFS-Filesystem-fs.png?resize=300%2C23&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 389px) 100vw, 389px\" \/><\/figure><\/div>\n\n\n<p><strong>3)<\/strong> Unzip the downloaded <em>.zip<\/em> folder to the <strong>Tools<\/strong> folder. You should have a similar folder structure:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;home_dir&gt;\/Arduino-&lt;version&gt;\/<strong>tools\/ESP8266FS\/tool\/esp8266fs.jar<\/strong><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"275\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Arduino-IDE-Tools-to-Install-ESP8266-SPIFFS-Filesystem-fs-2.png?resize=627%2C275&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE Tools to Install ESP8266 SPIFFS Filesystem fs\" class=\"wp-image-86797\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Arduino-IDE-Tools-to-Install-ESP8266-SPIFFS-Filesystem-fs-2.png?w=627&amp;quality=100&amp;strip=all&amp;ssl=1 627w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/Arduino-IDE-Tools-to-Install-ESP8266-SPIFFS-Filesystem-fs-2.png?resize=300%2C132&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><\/figure><\/div>\n\n\n<p><strong>4)<\/strong> Finally, restart your Arduino IDE.<\/p>\n\n\n\n<p>To check if the plugin was successfully installed, open your Arduino IDE and select your ESP8266 board. In the <strong>Tools<\/strong> menu check that you have the option &#8220;<strong>ESP8266 Sketch Data Upload<\/strong>&#8220;.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"385\" height=\"582\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Sketch-Data-Upload-Arduino-IDE-SPIFFS-FS-Filesystem.png?resize=385%2C582&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP8266 Sketch Data Upload Arduino IDE SPIFFS FS Filesystem\" class=\"wp-image-86807\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Sketch-Data-Upload-Arduino-IDE-SPIFFS-FS-Filesystem.png?w=385&amp;quality=100&amp;strip=all&amp;ssl=1 385w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Sketch-Data-Upload-Arduino-IDE-SPIFFS-FS-Filesystem.png?resize=198%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 198w\" sizes=\"(max-width: 385px) 100vw, 385px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Uploading Files using the Filesystem Uploader<\/h2>\n\n\n\n<p>To upload files to the ESP8266 filesystem follow the next instructions.<\/p>\n\n\n\n<p><strong>1)<\/strong> Create an Arduino sketch and save it. For demonstration purposes, you can save an empty sketch.<\/p>\n\n\n\n<p><strong>2)<\/strong> Then, open the sketch folder. You can go to <strong>Sketch <\/strong>&gt; <strong>Show Sketch Folder<\/strong>. The folder where your sketch is saved should open.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/rntlab.com\/wp-content\/uploads\/2018\/09\/show-sketch-folder.png?w=1200&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE Show Sketch folder to create data folder\" class=\"wp-image-17224\"\/><\/figure><\/div>\n\n\n<p><strong>3)<\/strong> Inside that folder, create a new folder called <em><strong>data<\/strong><\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"212\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Arduino-Sketch-Example-File-Filesystem-fs-SPIFFS.png?resize=408%2C212&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP8266 Arduino Sketch Example File Filesystem fs SPIFFS\" class=\"wp-image-86805\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Arduino-Sketch-Example-File-Filesystem-fs-SPIFFS.png?w=408&amp;quality=100&amp;strip=all&amp;ssl=1 408w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Arduino-Sketch-Example-File-Filesystem-fs-SPIFFS.png?resize=300%2C156&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 408px) 100vw, 408px\" \/><\/figure><\/div>\n\n\n<p><strong>4)<\/strong> Inside the <strong><em>data<\/em> <\/strong>folder is where you should put the files you want to be saved into the ESP8266 filesystem. As an example, create a <em>.txt<\/em> file with some text called <em>test_example<\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"183\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Notepad-Test-Example-File-Filesystem-fs-SPIFFS.png?resize=621%2C183&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP8266 Notepad Test Example File Filesystem fs SPIFFS\" class=\"wp-image-86806\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Notepad-Test-Example-File-Filesystem-fs-SPIFFS.png?w=621&amp;quality=100&amp;strip=all&amp;ssl=1 621w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Notepad-Test-Example-File-Filesystem-fs-SPIFFS.png?resize=300%2C88&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/figure><\/div>\n\n\n<p><strong>5)<\/strong> In the Arduino IDE, in the <strong>Tools <\/strong>menu, select the desired SPIFFS size (this will depend on the size of your files)<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"420\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Select-SPIFFS-FS-Filesystem-size-tools.png?resize=608%2C420&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP8266 Select SPIFFS FS Filesystem size in Tools menu using Arduino IDE\" class=\"wp-image-86938\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Select-SPIFFS-FS-Filesystem-size-tools.png?w=608&amp;quality=100&amp;strip=all&amp;ssl=1 608w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Select-SPIFFS-FS-Filesystem-size-tools.png?resize=300%2C207&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 608px) 100vw, 608px\" \/><\/figure><\/div>\n\n\n<p><strong>6)<\/strong> Then, to upload the files, in the Arduino IDE, you just need to go to <strong>Tools&nbsp;<\/strong>&gt; <strong>ESP8266 Sketch Data Upload<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"385\" height=\"582\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Sketch-Data-Upload-Arduino-IDE-SPIFFS-FS-Filesystem.png?resize=385%2C582&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP8266 Sketch Data Upload Arduino IDE SPIFFS FS Filesystem\" class=\"wp-image-86807\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Sketch-Data-Upload-Arduino-IDE-SPIFFS-FS-Filesystem.png?w=385&amp;quality=100&amp;strip=all&amp;ssl=1 385w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-Sketch-Data-Upload-Arduino-IDE-SPIFFS-FS-Filesystem.png?resize=198%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 198w\" sizes=\"(max-width: 385px) 100vw, 385px\" \/><\/figure><\/div>\n\n\n<p>You should get a similar message on the debugging window. The files were successfully uploaded to the ESP8266 filesystem. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"955\" height=\"361\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/SPIFFS-Image-Connecting-to-board-ESP8266.png?resize=955%2C361&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"SPIFFS Image Connecting to ESP8266 board\n\" class=\"wp-image-86808\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/SPIFFS-Image-Connecting-to-board-ESP8266.png?w=955&amp;quality=100&amp;strip=all&amp;ssl=1 955w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/SPIFFS-Image-Connecting-to-board-ESP8266.png?resize=300%2C113&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/SPIFFS-Image-Connecting-to-board-ESP8266.png?resize=768%2C290&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 955px) 100vw, 955px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Testing the Uploader<\/h2>\n\n\n\n<p>Now, let\u2019s just check if the file was actually saved into the ESP8266 filesystem. Simply upload the following code to your ESP8266 board.<\/p>\n\n\n<pre style=\"max-height: 40em; margin-bottom: 20px;\"><code class=\"language-c\">\/*********\n  Rui Santos\n  Complete project details at https:\/\/RandomNerdTutorials.com  \n*********\/\n\n#include &quot;FS.h&quot;\n \nvoid setup() {\n  Serial.begin(115200);\n  \n  if(!SPIFFS.begin()){\n    Serial.println(&quot;An Error has occurred while mounting SPIFFS&quot;);\n    return;\n  }\n  \n  File file = SPIFFS.open(&quot;\/test_example.txt&quot;, &quot;r&quot;);\n  if(!file){\n    Serial.println(&quot;Failed to open file for reading&quot;);\n    return;\n  }\n  \n  Serial.println();\n  Serial.println(&quot;File Content:&quot;);\n  while(file.available()){\n    Serial.write(file.read());\n  }\n  file.close();\n}\n \nvoid loop() {\n\n}\n<\/code><\/pre>\n\t<p style=\"text-align:center\"><a class=\"rntwhite\" href=\"https:\/\/github.com\/RuiSantosdotme\/Random-Nerd-Tutorials\/raw\/master\/Projects\/ESP8266\/ESP8266_Filesystem_Example.ino\" target=\"_blank\">View raw code<\/a><\/p>\n\n\n\n<p>After uploading, open the Serial Monitor at a baud rate of 115200. Press the ESP8266 &#8220;<strong>RST<\/strong>&#8221; button. It should print the content of your <em>.txt<\/em> file on the Serial Monitor.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"299\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-SPIFFS-FS-Filesystem-Example-Arduino-IDE-Serial-Monitor.png?resize=672%2C299&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP8266 SPIFFS FS Filesystem Example Arduino IDE Serial Monitor\" class=\"wp-image-86813\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-SPIFFS-FS-Filesystem-Example-Arduino-IDE-Serial-Monitor.png?w=672&amp;quality=100&amp;strip=all&amp;ssl=1 672w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266-SPIFFS-FS-Filesystem-Example-Arduino-IDE-Serial-Monitor.png?resize=300%2C133&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 672px) 100vw, 672px\" \/><\/figure><\/div>\n\n\n<p>You\u2019ve successfully uploaded files to the ESP8266 filesystem using the plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>Using the filesystem uploader plugin is one of the easiest ways to upload files to the ESP8266 filesystem. You can save HTML and CSS files to build a web server, images or small icons, save configuration files, etc&#8230;<\/p>\n\n\n\n<p>We have a project example in which we build a <a href=\"https:\/\/randomnerdtutorials.com\/esp32-web-server-spiffs-spi-flash-file-system\/\">web server using HTML and CSS files saved on the filesystem<\/a>. The example is for the ESP32, but it should be compatible with the ESP8266 with small changes on the code.<\/p>\n\n\n\n<p>If you like the ESP8266, you may like the following resources:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><a href=\"https:\/\/randomnerdtutorials.com\/home-automation-using-esp8266\/\">Home Automation using ESP8266<\/a><\/strong><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide\/\">ESP8266 DHT11 Temperature and Humidity Web Server<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/esp8266-web-server\/\">ESP8266 Web Server Control Outputs<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/esp8266-pinout-reference-gpios\/\">ESP8266 GPIO Reference Guide<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/projects-esp8266\/\">More ESP8266 resources<\/a><\/li>\n<\/ul>\n\n\n\n<p>Thanks for reading<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ESP8266 contains a Serial Peripheral Interface Flash File System (SPIFFS). SPIFFS is a lightweight filesystem created for microcontrollers with a flash chip. This article shows how to easily upload &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install ESP8266 Filesystem Uploader in Arduino IDE\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/install-esp8266-filesystem-uploader-arduino-ide\/#more-86792\" aria-label=\"Read more about Install ESP8266 Filesystem Uploader in Arduino IDE\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":86934,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[214,265,300,264],"tags":[],"class_list":["post-86792","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esp8266","category-esp8266-project","category-0-esp8266","category-project"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/ESP8266_Install_Filesystem_Uploader.png?fit=1280%2C720&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/86792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=86792"}],"version-history":[{"count":1,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/86792\/revisions"}],"predecessor-version":[{"id":130837,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/86792\/revisions\/130837"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/86934"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=86792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=86792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=86792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}