Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST]FTP server #383

Closed
luc-github opened this issue Oct 11, 2019 · 8 comments
Closed

[FEATURE REQUEST]FTP server #383

luc-github opened this issue Oct 11, 2019 · 8 comments

Comments

@luc-github
Copy link
Owner

Now have mature code for ESP8266 and ESP32 and 3.0 code is modular it could be good to add ftp server support
also FS could be easily splited at root
/FS/ for flash, /SD/ for SD, /USB/ for USB key and more if any

@mat2k

This comment has been minimized.

@luc-github

This comment has been minimized.

@mat2k

This comment has been minimized.

@luc-github

This comment has been minimized.

@luc-github
Copy link
Owner Author

luc-github commented Oct 28, 2019

I have added a global FS feature
Flash and SD are virtualy mounted as directories under /
[ESP780] and [ESP790] commands allow to navigate and doing some basic file management
[ESP780]

Directory on Global FS : /
<DIR> 	FS 	
<DIR> 	SD 	
0 file, 2 dir(s)

[ESP780]/FS

Directory on Global FS : /FS
      	index.html.gz 	6.58 KB 	
1 file, 0 dir
Total 169.38 KB, Used 6.86 KB, Available: 162.51 KB

[ESP780]/SD

Directory on Global FS : /SD
      	myfile.txt 	0 B 	
      	logo2.png 	3.28 KB 	
2 file(s), 0 dir
Total 14.71 GB, Used 64.00 KB, Available: 14.71 GB

When USB disk support will be added a /USB should be available also

@luc-github
Copy link
Owner Author

FTP server implementation is getting close ^_^
image

@luc-github
Copy link
Owner Author

luc-github commented Nov 1, 2019

ok feature completed
image

FTP transfer is 3X faster compare to web transfer and using Fatlib is 30% faster

on short transfer speed could change but on long transfer look a like

Web Transfert
SDFat lib
1124249 B  =  1.7MB in  21 sec
91327211 B = 87.1MB in  1716 sec = 28min 36s
Speed = 53.2KB/s

ESP32 core SD lib
1124249 B =  1.7MB in  37 sec
91327211 B = 87.1MB in  2265 sec = 37 min 45s
Speed = 40,3KB/s
 
 
FTP Transfert
SDFat lib
for 91327211 B
Transfer completed in 598710 ms, 152.539979 kbytes/s => 9min 58s
Transfer completed in 578694 ms, 157.816067 kbytes/s => 9min 39s 
 
 
for 1124249 B
Transfer completed in 7579 ms, 148.337380 kbytes/s => 7.6s
Transfer completed in 3821 ms, 294.228998 kbytes/s => 3.8s
Transfer completed in 5586 ms, 201.261905 kbytes/s => 6.6s

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants