send me the FTP codes if you like. It will now have the "admin" access that stooged did. So you can upload files, delete, change credentials like you said, all from the little admin panel and using ANY browser from any device like pc, phone , that is connected to the esp. BUT ftp i don't have yet, so yeah that would be awesome
I am going to review the new ino from Stooged to see about the internal pages he creates (I suspect they are similar to the "built-in" Settings page that is available in the other Sketches). He may have already included the FTP code. Either way it is simple.
Add this to your include lines:
#include <ESP8266FtpServer.h>
Then further down create the object:
FtpServer ftpSrv;
Then in your begin statements, after you start (begin) SPIFFS, add this line:
ftpSrv.begin("ESPS4","password");
I used variables for my l/p so that I could update them from the Settings page, but most that I have seen just use hard coded values, like above.
There are a couple of requirements for using the FTP. Here is an excerpt from the GIT page for it:
This allows you to FTP into your esp8266 and access/modify the spiffs folder/data...it only allows one ftp connection at a time....very simple for now...
I've tested it with Filezilla, and the basics work (upload/download/rename/delete). There's no create/modify directory support(no directory support in SPIFFS yet).
You need to setup Filezilla(or other client) to only allow 1 connection..
To force FileZilla to use the primary connection for data transfers:
Go to File/Site Manager then select your site.
In Transfer Settings, check "Limit number of simultaneous connections" and set the maximum to 1
only supports Passive ftp mode....
It does NOT support any encryption, so you'll have to disable any form of encryption...
HTH