default

Example of the component cezap/simple_ftp_server v1.0.0
# `simple_ftp_server` example

## Что делает

1. Подключается к WiFi.
2. Монтирует SPIFFS в `/spiffs`.
3. Запускает FTP на порту 21 (PASV 50009).
4. Создаёт файл `hello.txt` для проверки.

## Перед сборкой

В `main/main.c` замени:

* `WIFI_SSID` / `WIFI_PASSWORD`
* при желании `FTP_USER` / `FTP_PASS`

Нужна partition table со **SPIFFS** (стандартная `partitions_example.csv` / default обычно ок).

## Сборка (ESP-IDF)

```powershell
. C:\Espressif\tools\activate_idf_v5.4.ps1
cd examples\default
Remove-Item -Recurse -Force build -ErrorAction SilentlyContinue
idf.py set-target esp32
idf.py build
idf.py -p COMx flash monitor
```

## Проверка

В мониторе смотри IP. В FileZilla:

* Protocol: FTP
* Host: IP платы
* Port: 21
* User / Password: как в `main.c`
* Transfer mode: Passive

To create a project from this example, run:

idf.py create-project-from-example "cezap/simple_ftp_server=1.0.0:default"

or download archive (~4.06 KB)