Skip to content

USING FTPSERVER with SDFat.h lib causes: error:'File' is already declared in this scope using fs::File #18

Description

@axfatec

Hello. I'm a new user of esp8266, and sice few months ago I started to develop a data logger with ESP-12E module.
All worked since I decided to add the FTP feature to my project (where I use library #include "SdFat.h")
Now I added your library <ESP8266FtpServer.h> and when I compile the scketch I obtain this error:

sp8266/FS.h:136:11: error: 'File' is already declared in this scope

using fs::File;
^
I found here me-no-dev/ESPAsyncWebServer#112 , an old discussion on similar issue, but I was now able to implement to your libary and to solve the issue.
Could you help me ?
thanks Alessandro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions