tested on a Tuya WinnerMicro W600 Smart Bulb
Create wifi_config.py with following content:
wifi_config.py
WIFI_SSID="<SSID>" WIFI_PASSWD="<PASSWORD>"
Reboot the M600 and connect to bulb via FTP without username and password