Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cpopp/MicroFTPServer
Minimal FTP Server that can run on an ESP8266 with MicroPython
https://github.com/cpopp/MicroFTPServer
Last synced: 3 months ago
JSON representation
Minimal FTP Server that can run on an ESP8266 with MicroPython
- Host: GitHub
- URL: https://github.com/cpopp/MicroFTPServer
- Owner: cpopp
- Created: 2016-10-03T03:59:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-30T23:54:10.000Z (about 8 years ago)
- Last Synced: 2024-04-22T12:33:10.451Z (7 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 35
- Watchers: 8
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-micropython - MicroFTPServer - Minimal FTP Server that can run on an ESP8266 with MicroPython. (Libraries / Communications)
README
# uftpserver
I wanted a simple way of remotely managing files on my ESP8266 so I experimented with this minimal FTP server enough to get file listing, retrieving, and uploading working.
It's a functioning prototype now with a lot of room for improvement but it seems to work fine with the standard mac FTP client and ftp:// access via Chrome.
Check out an alternative FTP server that expanded quite a bit on this prototype [here](https://github.com/robert-hh/ESP8266-FTP-Server).
## Limitations
- Passive mode only
- A single data connection at a time
- Data transfer is assumed to be in binary mode (ascii setting is ignored)
- Operation blocks the thread
- No authentication support## What is supported
- Changing directories (cd/CWD)
- Directory listing (ls/LIST with no parameters)
- File retrievals (get/RETR)
- File uploads (put/STOR)## Future Work
Here are some items I have in mind:
- non-blocking/callback based so it can run in the background with other scripts
- refactor the code for encapsulation purposes and to reduce memory use
- support for more commands and bit more robustness with the current ones