Comments (5)
I have never used the passive mode...
As far as I can see you have a complete and correct FTP-Transaction listing all files in /. It gets closed in packets 90-93.
Strangely, the ftp-server only sends the "226 Closing data connection" only after the client closes the control connection in packet 420.
Is the rest of you lwip working? Which port are you using? Are the *_tmr called regularily?
from lwip-ftpd.
You name it! 5min ago, I also found out
that the ftpd_msgpoll routine is not called. It is because I use
an operating system (SYS/BIOS), I think. From where do I have to
call the _tmr functions?
Thanks, and regards,
Daniel
I have never used the passive mode...
As far as I can see you have a complete and correct
FTP-Transaction listing all files in /. It gets closed in
packets 90-93.
Strangely, the ftp-server only sends the "226 Closing data
connection" only after the client closes the control connection
in packet 420.
Is the rest of you lwip working? Which port are you using? Are
the *_tmr called regularily?
—
Reply to this email directly or view
it on GitHub.
from lwip-ftpd.
Please read [1] and [2]. Calling "sys_check_timeouts" should suffice.
The mailing list https://lists.nongnu.org/mailman/listinfo/lwip-users will gladly help you with this and other problems in getting the stack to work.
[1] http://lwip.wikia.com/wiki/LwIP_with_or_without_an_operating_system
[2] http://lwip.wikia.com/wiki/LwIP_Platform_Developers_Manual
from lwip-ftpd.
I found the problem
It was the define for MEMP_NUM_SYS_TIMEOUT, it was one too little. Therefore there was a failure in memp_malloc(MEMP_SYS_TIMEOUT), so the timers did not run. In turn, also the poll function of ftpd was not called.
Thanks for your help!
Daniel
from lwip-ftpd.
I am glad you found the error. Good luck with your device!
from lwip-ftpd.
Related Issues (17)
- ftpd hangs after LIST command HOT 4
- Memory leak after client quits session HOT 3
- Having problems with '0:\' drive/LUN designator HOT 10
- Passive Mode HOT 4
- len wrapped rcv_wnd HOT 1
- re-use of free'd memory causes hard crash
- malloc size of pointer rather than size of struct HOT 2
- missing call to f_closedir() HOT 1
- Does not work with FileZilla on windows HOT 3
- Memory leak?
- Dependency Dashboard
- ftpd hangs on cmd_pasv
- Directory listing extremely slow HOT 5
- send_next_directory limitation HOT 4
- send_next_directory hangs the client HOT 3
- vfs_close deletes guard_for_the_whole_fs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lwip-ftpd.