firmware-base/vendor/sming/Sming/samples/FtpServer_Files
2026-01-28 16:42:43 +01:00
..
app vendor 2026-01-28 16:42:43 +01:00
component.mk vendor 2026-01-28 16:42:43 +01:00
fsimage.fwfs vendor 2026-01-28 16:42:43 +01:00
ftpserver-esp32.hw vendor 2026-01-28 16:42:43 +01:00
ftpserver-esp8266.hw vendor 2026-01-28 16:42:43 +01:00
ftpserver.hw vendor 2026-01-28 16:42:43 +01:00
Makefile vendor 2026-01-28 16:42:43 +01:00
README.rst vendor 2026-01-28 16:42:43 +01:00

FTP Server Files
================

.. highlight:: bash

This example sets up an FTP server with a couple of files stored in SPIFFS.
It mounts this on top of an FWFS volume (a hybrid filesystem).

The sample creates three users with different roles (guest, user and administrator).

======  ========  =======
User    Password  Role
------  --------  -------
guest   (none)    Guest
me      "123"     User
admin   "1234"    Admin
======  ========  =======

You'll need to have WiFi configured. You can set this information when building like this::

   make WIFI_SSID=ssid WIFI_PWD=password

substituting your actual Access Point details for *ssid* and *password*.

Flash to your device::

   make flash

You should be able to connect using an FTP client:

   ftp ipaddress

and when prompted log in with one of the above usernames.