Code Monkey home page Code Monkey logo

esp32_ftpserver_sd's People

Contributors

robo8080 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32_ftpserver_sd's Issues

Error retriving files from FTP server.

Hi, this is the first issue that I present on GitHub, normally I'm able to troubleshoot everything just by reading others people problems, but in this specific case I wasn't lucky.

I'm building a under water data-logger that is submerged most of the time, only out of the water to retrieve data and charge up the battery.

Was a easier way to retrieve the data from de device I opted by using and ESP32 and program it to be a FTP server, thus using FileZilla the download the files.

It connects great using the code with miner changes, I'm able to upload files to the SD card through FileZilla, but I cannot download or delete files.

The error code is: 550 File oo.txt not found

The most strange situation is the line names and directory that apear in FileZilla on the FPT-Server are incomplete, buy that I mean that the file I was previously trying to download is not oo.txt but foo.txt.

I'm not a programmer, mostly a nooby. I do it on my free time.

The code is mostly unchanged:

#include <WiFi.h>
#include <WiFiClient.h>
#include "ESP32FtpServer.h"

#define SD_CS 5

const char* ssid = "OCTOPETALA_B";
const char* password = "Octopetala2022";

FtpServer ftpSrv; //set #define FTP_DEBUG in ESP32FtpServer.h to see ftp verbose on serial

void setup(void){
Serial.begin(115200);
WiFi.begin(ssid, password);
Serial.println("");

// Wait for connection
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.print("Connected to ");
Serial.println(ssid);
Serial.print("IP address: ");
Serial.println(WiFi.localIP());

/////FTP Setup, ensure SD is started before ftp; /////////

if (SD.begin(SD_CS)) {
Serial.println("SD opened!");
ftpSrv.begin("esp32","esp32"); //username, password for ftp. set ports in ESP32FtpServer.h (default 21, 50009 for PASV)
}
}

void loop(void){
ftpSrv.handleFTP(); //make sure in loop you call handleFTP()!!
}

Thank you in advance, any help is greatly appreciated

File name first character missing ファイル名一文字目が抜けています

When I access the FTP server, the first character of every file name is missing. eg/ a File named "Example.txt" displays as "xample.txt" in windows explorer. I have the same issue in FIleZilla.

FTPサーバーにアクセスする時、全てのファイル名は一文字目が抜けています。例えば 「Example.txt」のファイルがあるとすると、表示されるのは「xample.txt」です。ExplorerとFileZilla 両方で確認しましたが、問題が同じでした。

FTP Issue

Uploading folder just uploading files

Is there a way to also create the folder when uploading a complete folder structure with files in it, instead of flatten everything and saving just the containing files?

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.