GithubHelp home page GithubHelp logo

Trouble getting ftpd to run about lwip-ftpd HOT 5 CLOSED

toelke avatar toelke commented on August 15, 2024
Trouble getting ftpd to run

from lwip-ftpd.

Comments (5)

toelke avatar toelke commented on August 15, 2024

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.

nikigraus avatar nikigraus commented on August 15, 2024
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.

toelke avatar toelke commented on August 15, 2024

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.

nikigraus avatar nikigraus commented on August 15, 2024

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.

toelke avatar toelke commented on August 15, 2024

I am glad you found the error. Good luck with your device!

from lwip-ftpd.

Related Issues (17)

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.