nailbuster / esp8266FTPServer

Simple FTP Server for using esp8266/esp32 SPIFFs
GNU Lesser General Public License v2.1
208 stars 126 forks source link

Folder emulation #2

Open holgerlembke opened 8 years ago

holgerlembke commented 8 years ago

Hi David,

I just stumbled upon this nice ftp server, works great out of the box.

Is any work done on emulating folders?

nailbuster commented 8 years ago

good to hear its working....

nope, no emulating folders yet....if/when the spiffs supports directories 'fully', then it's something to look at....

pgScorpio commented 8 years ago

Would it be that hard to simulate folders from the filenames ??

Since the filenames contain slashes you know which part of the filename is a path and which part is the filename....

Now, , if you have "folders", because the filenames contain slaches you can't up- or download them via ftp.

holgerlembke commented 8 years ago

It could be done but it is a lot of detail work. Let me pick three:

Does not sound terrible difficult. But as said before, it is a job for the file system, not the ftp server.

pgScorpio commented 8 years ago

I agree it should be done on the filesystem ! I really don't understand why they (still) did not implement it......

If I can find the time ill look into it myself..