Coder Social home page Coder Social logo

esp32_ftpclient's Introduction

FTP Client for the ESP32

A FTP-Client for the ESP32

GitHub version Build Status License: MIT

GitHub last commit

TODO

  • List Dir contents test with different serves;
  • Implement FEAT in order to choose which mode to list dir...
  • Implement download;

Free Website Hosting

  • The idea behind this project is to upload the picture via FTP making it available on an URL something like: www.mysite.com/my_picture.jpg

  • This way you don't need to overload the ESP32, your network remains secure, not open to the world, no port forwarding.

  • For this example I uploaded the GitHub Octocat to my 000Webhost hosted webiste, the file is avalable under: https://my_user.000webhostapp.com/gallery_gen/XxXxXxXx.jpg

Limitation

  • I was only able to download files up to ~90KB, as I can't see any usage for that, I did not spend extra time, as it's partially working.
  • A new example under download_file.ino has been added;
  • ESP.getMaxAllocHeap() returned limited amount of free memory, therefore the buffer can't hold the entire downloaded file.
    • For this reason I have implemented the last argument of DownloadFile(const char * filename, unsigned char * buf, size_t length, bool printUART ) which will print the buffer directly to the UART;
    • If required, SPIFFS can be used to save the file.

As mentioned here and here

Upload example

  • For the uploading example we will use the GitHub Octocat, which binary file is here:

Octocat

esp32_ftpclient's People

Contributors

blackcodetavern avatar ldab avatar spyder0069 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.